Version 3.0.1.0

AttributeValidator<TAttribute> class

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