NumericRange<TValue> ​
Represents a numeric range with minimum and maximum values.
Kind: Struct
Namespace: CrowdControl.Common
Public Constructors
NumericRange<TValue>()
Creates a new instance of the CrowdControl.Common.NumericRange<1 class with the range [1,1].
NumericRange<TValue>(TValue maximum)
Creates a new instance of the CrowdControl.Common.NumericRange<1 class with the range [1,1].
NumericRange<TValue>(TValue minimum, TValue maximum)
Creates a new instance of the CrowdControl.Common.NumericRange<1 class with the range [1,1].
Public Member Functions
void
Deconstruct(TValue out minimum, TValue out maximum)
Deconstructs the CrowdControl.Common.NumericRange<1 into its minimum and maximum values.
TValue
Clamp(TValue value)
Clamps the given value to the range defined by this instance.
Public Attributes
TValue
Minimum
Minimum value of the range.
TValue
Maximum
Maximum value of the range.
Properties
bool
IsOne
[get, ]
Indicates if the range is [1,1].
