Version 2.1.0.0

DefaultValidatorLocator.BrokenAttributeValidator class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class BrokenAttributeValidator : Validator
Inheritance
  • System.Object
  • Validator
  • DefaultValidatorLocator.BrokenAttributeValidator

Constructors

BrokenAttributeValidator(Type, ValidationKind, String)
public BrokenAttributeValidator(Type brokenValidatorType, ValidationKind kind, string message)
Parameters
System.Type brokenValidatorType

ValidationKind kind

System.String message

Methods

CanValidateMembers()
public override bool CanValidateMembers()
Returns
System.Boolean

CanValidateValues()
public override bool CanValidateValues()
Returns
System.Boolean

RunMemberValidation(Object, MemberInfo, Object, Object, ref ValidationResult)
public override void RunMemberValidation(object parentInstance, MemberInfo member, object memberValue, Object root, ref ValidationResult result)
Parameters
System.Object parentInstance

System.Reflection.MemberInfo member

System.Object memberValue

UnityEngine.Object root

ValidationResult result

RunValueValidation(Object, Object, ref ValidationResult)
public override void RunValueValidation(object value, Object root, ref ValidationResult result)
Parameters
System.Object value

UnityEngine.Object root

ValidationResult result