Version 3.3.1.2

MinValueValidator<T> class

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

Type Parameters

T

Constructors

MinValueValidator()
public MinValueValidator()

Methods

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

Returns
System.Boolean

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