Version 2.1.0.0

AttributeValidator<TAttribute, TValue> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public abstract class AttributeValidator<TAttribute, TValue> : AttributeValidator<TAttribute>, IAttributeValidator where TAttribute : Attribute
Inheritance

Type Parameters

TAttribute

TValue

Constructors

AttributeValidator()
protected AttributeValidator()

Methods

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

TValue memberValue

System.Reflection.MemberInfo member

ValidationResult result

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

System.Object memberValue

System.Reflection.MemberInfo member

ValidationResult result