Version 3.3.1.2

AttributeValidator<TAttribute> class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public abstract class AttributeValidator<TAttribute> : Validator, IValidator, IAttributeValidator where TAttribute : Attribute
Inheritance
  • System.Object
  • Validator
  • AttributeValidator<TAttribute>

Type Parameters

TAttribute

Constructors

AttributeValidator()
protected AttributeValidator()

Properties

Attribute
public TAttribute Attribute { 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