Version 3.3.1.2

RequiredListLengthValidator class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class RequiredListLengthValidator : AttributeValidator<RequiredListLengthAttribute>, IValidator, IAttributeValidator
Inheritance

Constructors

RequiredListLengthValidator()
public RequiredListLengthValidator()

Methods

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

Returns
System.Boolean

GetDefault(Type)
public static object GetDefault(Type type)
Parameters
System.Type type

Returns
System.Object

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