Version 2.1.0.0

IValidatorLocator interface

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public interface IValidatorLocator

Methods

GetValidators(MemberInfo, Type, Boolean)
IList<Validator> GetValidators(MemberInfo member, Type memberValueType, bool isCollectionElement)
Parameters
System.Reflection.MemberInfo member

System.Type memberValueType

System.Boolean isCollectionElement

Returns
System.Collections.Generic.IList<Validator>

GetValidators(Type)
IList<Validator> GetValidators(Type valueType)
Parameters
System.Type valueType

Returns
System.Collections.Generic.IList<Validator>

PotentiallyHasValidatorsFor(MemberInfo, Type, Boolean)
bool PotentiallyHasValidatorsFor(MemberInfo member, Type memberValueType, bool isCollectionElement)
Parameters
System.Reflection.MemberInfo member

System.Type memberValueType

System.Boolean isCollectionElement

Returns
System.Boolean

PotentiallyHasValidatorsFor(Type)
bool PotentiallyHasValidatorsFor(Type valueType)
Parameters
System.Type valueType

Returns
System.Boolean

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.