Class ValueRange<T>
Inheritance
ValueRange<T>
Assembly: RedLoader.dll
Syntax
public class ValueRange<T> : ValueValidator, IValueRange where T : IComparable
Type Parameters
Constructors
ValueRange(T, T)
Declaration
public ValueRange(T minValue, T maxValue)
Parameters
Type |
Name |
Description |
T |
minValue |
|
T |
maxValue |
|
Properties
MaxValue
Declaration
public T MaxValue { get; }
Property Value
MinValue
Declaration
public T MinValue { get; }
Property Value
Methods
EnsureValid(object)
Declaration
public override object EnsureValid(object value)
Parameters
Type |
Name |
Description |
object |
value |
|
Returns
Overrides
IsValid(object)
Declaration
public override bool IsValid(object value)
Parameters
Type |
Name |
Description |
object |
value |
|
Returns
Overrides
Implements