Version 3.0.0.2

ValidationComponent class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class ValidationComponent : PropertyComponent, IDisposable
Inheritance

Constructors

ValidationComponent(InspectorProperty, IValidatorLocator)
public ValidationComponent(InspectorProperty property, IValidatorLocator validatorLocator)
Parameters
InspectorProperty property

Sirenix.OdinInspector.Editor.Validation.IValidatorLocator validatorLocator

Fields

ValidatorLocator
public readonly IValidatorLocator ValidatorLocator

Methods

Dispose()
public void Dispose()
GetValidators()
public IList<Validator> GetValidators()
Returns
System.Collections.Generic.IList<Validator>

Reset()
public override void Reset()
ValidateProperty(ref List<ValidationResult>)
public void ValidateProperty(ref List<ValidationResult> results)
Parameters
System.Collections.Generic.List<ValidationResult> results