Version 3.3.1.0

SelfValidator<T> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class SelfValidator<T> : ValueValidator<T>, IValidator, DefaultValidatorLocator.IValueValidator_InternalTemporaryHack where T : ISelfValidator
Inheritance

Type Parameters

T

Constructors

SelfValidator()
public SelfValidator()

Methods

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

Returns
System.Boolean

Validate(ValidationResult)
protected override void Validate(ValidationResult result)
Parameters
ValidationResult result