Version 3.0.1.0

DefaultValidatorLocator class

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public class DefaultValidatorLocator : IValidatorLocator
Inheritance
  • System.Object
  • DefaultValidatorLocator

Constructors

DefaultValidatorLocator()
public DefaultValidatorLocator()

Fields

AttributeNumberMap
protected readonly Dictionary<Type, int> AttributeNumberMap
CustomValidatorFilter
public Func<Type, bool> CustomValidatorFilter
ResultList
protected readonly List<TypeSearchResult> ResultList
SearchResultList
protected readonly List<TypeSearchResult[]> SearchResultList
ValidatorSearchIndex
public static readonly TypeSearchIndex ValidatorSearchIndex

Methods

GetMergedSearchResults(InspectorProperty)
protected List<TypeSearchResult> GetMergedSearchResults(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Collections.Generic.List<TypeSearchResult>

GetSearchResults(InspectorProperty)
protected List<TypeSearchResult[]> GetSearchResults(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Collections.Generic.List<TypeSearchResult[]>

GetValidators(InspectorProperty)
public virtual IList<Validator> GetValidators(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Collections.Generic.IList<Validator>

PotentiallyHasValidatorsFor(InspectorProperty)
public bool PotentiallyHasValidatorsFor(InspectorProperty property)
Parameters
InspectorProperty property

Returns
System.Boolean