Range<T>
Struct in Zigurous.Architecture
Implements IRange<T>
Declaration
[Serializable]
public struct Range<T> : IRange<T> where T : IComparable<T>
Description
A range of values of the given type.
Type Parameters
T | The type of values in the range. |
Properties
min | The lower bound of the range. |
max | The upper bound of the range. |
Constructors
Range | Creates a new range with the specified values. |
Methods
Includes | Checks if a value is in the range. |