Class Validation.RangeAttribute
- Namespace
- Lime
- Assembly
- Lime.dll
public class Validation.RangeAttribute : Attribute, Validation.IValidator<object>, Validation.IValidator
- Inheritance
-
Validation.RangeAttribute
- Implements
- Inherited Members
Constructors
RangeAttribute(int, int)
public RangeAttribute(int minimum, int maximum)
Parameters
RangeAttribute(float, float)
public RangeAttribute(float minimum, float maximum)
Parameters
Fields
WarningLevel
public Validation.Result WarningLevel
Field Value
Properties
Maximum
public object Maximum { get; }
Property Value
Minimum
public object Minimum { get; }
Property Value
Methods
Validate(object)
public IEnumerable<(Validation.Result Result, string Message)> Validate(object value)
Parameters
value
object