Version 3.3.1.2

RegisterValidatorAttribute class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class RegisterValidatorAttribute : Attribute, _Attribute
Apply this to an assembly to register validators for the validation system. This enables locating of all relevant validator types very quickly.
Inheritance
  • System.Object
  • System.Attribute
  • RegisterValidatorAttribute

Constructors

RegisterValidatorAttribute(Type)
public RegisterValidatorAttribute(Type validatorType)
Parameters
System.Type validatorType

RegisterValidatorAttribute(Type, Type)
protected RegisterValidatorAttribute(Type validatorType, Type specialInstantiator)
Parameters
System.Type validatorType

System.Type specialInstantiator

Fields

Priority
public int Priority
SpecialInstantiator
public readonly Type SpecialInstantiator
ValidatorType
public readonly Type ValidatorType