Version 3.3.1.2

DefaultOdinAttributeProcessorLocator class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class DefaultOdinAttributeProcessorLocator : OdinAttributeProcessorLocator
Default implementation and the version that will be used when no other OdinAttributeProcessorLocator instance have been given to a PropertyTree. This implementation will find all AttributeProcessor definitions not marked with the OdinDontRegisterAttribute.
Inheritance

Constructors

DefaultOdinAttributeProcessorLocator()
public DefaultOdinAttributeProcessorLocator()

Fields

Instance
Singleton instance of the DefaultOdinAttributeProcessorLocator class.
public static readonly DefaultOdinAttributeProcessorLocator Instance
SearchIndex
Type search index used for matching OdinAttributeProcessor to properties.
public static readonly TypeSearchIndex SearchIndex

Methods

GetChildProcessors(InspectorProperty, MemberInfo)
Gets a list of OdinAttributeProcessor to process attributes for the specified child member of the parent property.
public override List<OdinAttributeProcessor> GetChildProcessors(InspectorProperty parentProperty, MemberInfo member)
Parameters
InspectorProperty parentProperty

The parent of the member.

System.Reflection.MemberInfo member

Child member of the parent property.

Returns
System.Collections.Generic.List<OdinAttributeProcessor>

List of OdinAttributeProcessor to process attributes for the specified member.

GetSelfProcessors(InspectorProperty)
Gets a list of OdinAttributeProcessor to process attributes for the specified property.
public override List<OdinAttributeProcessor> GetSelfProcessors(InspectorProperty property)
Parameters
InspectorProperty property

The property to find attribute porcessors for.

Returns
System.Collections.Generic.List<OdinAttributeProcessor>

List of OdinAttributeProcessor to process attributes for the speicied member.