Version 3.0.0.2

Validator class

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

Constructors

Validator()
protected Validator()

Properties

Property
public InspectorProperty Property { get; }
RevalidationCriteria
public virtual RevalidationCriteria RevalidationCriteria { get; }

Methods

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

Returns
System.Boolean

Initialize()
protected virtual void Initialize()
Initialize(InspectorProperty)
public void Initialize(InspectorProperty property)
Parameters
InspectorProperty property

RunValidation(ref ValidationResult)
public virtual void RunValidation(ref ValidationResult result)
Parameters
ValidationResult result