Version 3.3.1.2

ValueValidator<TValue> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public abstract class ValueValidator<TValue> : Validator, IValidator, DefaultValidatorLocator.IValueValidator_InternalTemporaryHack
Inheritance
  • System.Object
  • Validator
  • ValueValidator<TValue>

Type Parameters

TValue

Constructors

ValueValidator()
protected ValueValidator()

Properties

Value
public TValue Value { get; set; }
ValueEntry
public IPropertyValueEntry<TValue> ValueEntry { get; }

Methods

RunValidation(ref ValidationResult)
public override sealed void RunValidation(ref ValidationResult result)
Parameters
ValidationResult result

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