Version 2.1.0.0

ValidateInputAttributeValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class ValidateInputAttributeValidator<T> : AttributeValidator<ValidateInputAttribute, T>, IAttributeValidator
Inheritance

Type Parameters

T

Constructors

ValidateInputAttributeValidator()
public ValidateInputAttributeValidator()

Properties

RevalidationCriteria
public override RevalidationCriteria RevalidationCriteria { get; }

Methods

Initialize(MemberInfo, Type)
public override void Initialize(MemberInfo member, Type memberValueType)
Parameters
System.Reflection.MemberInfo member

System.Type memberValueType

Validate(Object, T, MemberInfo, ValidationResult)
protected override void Validate(object parentInstance, T memberValue, MemberInfo member, ValidationResult result)
Parameters
System.Object parentInstance

T memberValue

System.Reflection.MemberInfo member

ValidationResult result