IRangeT Interface |
public interface IRange<T> where T : Object, IComparable<T>
The IRangeT type exposes the following members.
Name | Description | |
---|---|---|
IsLowerInclusive | If true, the range includes the Lower value. Otherwise values equal to or less than the Lower value are out of the range. | |
IsUpperInclusive | If true, the range includes the Upper value. Otherwise values equal to or greater than the Upper value are out of the range. | |
Lower | Gets or sets the lowest value in the range. | |
Upper | Gets or sets the highest value in the range. |
Name | Description | |
---|---|---|
Contains(T) | Returns true if the value is contained within this range. | |
Contains(IRangeT) | Returns true if the given range is entirely contained within this range. | |
Overlaps | Returns true if the given range is partially contained within this range. |