Version 2.1.0.0

StrongDictionaryPropertyResolver<TDictionary, TKey, TValue> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
[ResolverPriority(-1)]
public class StrongDictionaryPropertyResolver<TDictionary, TKey, TValue> : BaseKeyValueMapResolver<TDictionary>, IKeyValueMapResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver, IHasSpecialPropertyPaths, IPathRedirector, IMaySupportPrefabModifications where TDictionary : IDictionary<TKey, TValue>
Inheritance

Type Parameters

TDictionary

TKey

TValue

Constructors

StrongDictionaryPropertyResolver()
public StrongDictionaryPropertyResolver()

Fields

ValueApplyIsTemporary
public bool ValueApplyIsTemporary

Properties

ElementType
public override Type ElementType { get; }
MaySupportPrefabModifications
public bool MaySupportPrefabModifications { get; }

Methods

Add(TDictionary, Object)
protected override void Add(TDictionary collection, object value)
Parameters
TDictionary collection

System.Object value

ChildNameToIndex(String)
public override int ChildNameToIndex(string name)
Parameters
System.String name

Returns
System.Int32

Clear(TDictionary)
protected override void Clear(TDictionary collection)
Parameters
TDictionary collection

CollectionIsReadOnly(TDictionary)
protected override bool CollectionIsReadOnly(TDictionary collection)
Parameters
TDictionary collection

Returns
System.Boolean

GetChildCount(TDictionary)
protected override int GetChildCount(TDictionary value)
Parameters
TDictionary value

Returns
System.Int32

GetChildInfo(Int32)
public override InspectorPropertyInfo GetChildInfo(int childIndex)
Parameters
System.Int32 childIndex

GetKey(Int32, Int32)
public override object GetKey(int selectionIndex, int childIndex)
Parameters
System.Int32 selectionIndex

System.Int32 childIndex

Returns
System.Object

GetSpecialChildPath(Int32)
public string GetSpecialChildPath(int childIndex)
Parameters
System.Int32 childIndex

Returns
System.String

Initialize()
protected override void Initialize()
OnCollectionChangesApplied()
protected override void OnCollectionChangesApplied()
Remove(TDictionary, Object)
protected override void Remove(TDictionary collection, object value)
Parameters
TDictionary collection

System.Object value

RemoveKey(TDictionary, Object)
protected override void RemoveKey(TDictionary map, object key)
Parameters
TDictionary map

System.Object key

Set(TDictionary, Object, Object)
protected override void Set(TDictionary map, object key, object value)
Parameters
TDictionary map

System.Object key

System.Object value

TryGetRedirectedProperty(String, out InspectorProperty)
public bool TryGetRedirectedProperty(string childName, out InspectorProperty property)
Parameters
System.String childName

InspectorProperty property

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.