Version 3.3.1.2

Validator class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public abstract class Validator : IValidator
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

InitializeResult(ref ValidationResult)
public void InitializeResult(ref ValidationResult result)
Parameters
ValidationResult result

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