Skip to content

NonNumericRange<TValue> ​

Represents a range of non-numeric values.

Kind: Struct

Namespace: CrowdControl.Common

Public Constructors

NonNumericRange<TValue>(TValue minimum, TValue maximum)

Creates a new instance of the CrowdControl.Common.NonNumericRange<1 class with the range [minimum,maximum].

Public Member Functions

void

Deconstruct(TValue out minimum, TValue out maximum)

Deconstructs the CrowdControl.Common.NonNumericRange<1 into its minimum and maximum values.

TValue

Clamp(TValue value)

Public Attributes

TValue

Minimum

Minimum value of the range.

TValue

Maximum

Maximum value of the range.