Version 2.1.0.0

InfoBoxValidator class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
[NoValidationInInspector]
public class InfoBoxValidator : AttributeValidator<InfoBoxAttribute>, IAttributeValidator
Inheritance

Constructors

InfoBoxValidator()
public InfoBoxValidator()

Methods

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

System.Type memberValueType

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

System.Object memberValue

System.Reflection.MemberInfo member

ValidationResult result