Version 3.3.1.2

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(ref StringSlice)
public override int ChildNameToIndex(ref StringSlice name)
Parameters
StringSlice name

Returns
System.Int32

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