Version 2.1.0.0

BaseKeyValueMapResolver<TMap> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public abstract class BaseKeyValueMapResolver<TMap> : BaseCollectionResolver<TMap>, IKeyValueMapResolver, ICollectionResolver, IApplyableResolver, IRefreshableResolver
Inheritance

Type Parameters

TMap

Constructors

BaseKeyValueMapResolver()
protected BaseKeyValueMapResolver()

Methods

ChildPropertyRequiresRefresh(Int32, InspectorPropertyInfo)
public override bool ChildPropertyRequiresRefresh(int index, InspectorPropertyInfo info)
Parameters
System.Int32 index

InspectorPropertyInfo info

Returns
System.Boolean

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

System.Int32 childIndex

Returns
System.Object

QueueRemoveKey(Object, Int32)
public void QueueRemoveKey(object key, int selectionIndex)
Parameters
System.Object key

System.Int32 selectionIndex

QueueRemoveKey(Object[])
public void QueueRemoveKey(object[] keys)
Parameters
System.Object[] keys

QueueSet(Object, Object, Int32)
public void QueueSet(object key, object value, int selectionIndex)
Parameters
System.Object key

System.Object value

System.Int32 selectionIndex

QueueSet(Object[], Object[])
public void QueueSet(object[] keys, object[] values)
Parameters
System.Object[] keys

System.Object[] values

RemoveKey(TMap, Object)
protected abstract void RemoveKey(TMap map, object key)
Parameters
TMap map

System.Object key

Set(TMap, Object, Object)
protected abstract void Set(TMap map, object key, object value)
Parameters
TMap map

System.Object key

System.Object value