Version 3.3.1.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>, Boolean)
public void ValidateProperty(ref List<ValidationResult> results, bool explodeMultiResults = false)
Parameters
System.Collections.Generic.List<ValidationResult> results

System.Boolean explodeMultiResults