Version 3.0.1.0

RangeValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class RangeValidator<T> : AttributeValidator<RangeAttribute, T>, IAttributeValidator, IAttributeValueValidator where T : struct
Inheritance

Type Parameters

T

Constructors

RangeValidator()
public RangeValidator()

Methods

CanValidateProperty(InspectorProperty)
public override bool CanValidateProperty(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean

Validate(ValidationResult)
protected override void Validate(ValidationResult result)
Parameters
ValidationResult result