IDictionaryHandler<TKey>

An interface that provides various utilities for modifying and querying dictionary values represented by a PropertyValueEntry.

It is also responsible for translating and ordering dictionary keys into persistent indices.

namespace Sirenix.OdinInspector.Editor
{
[ObsoleteAttribute("Use property.ChildResolver as IKeyValueMapResolver instead.", True)]
public interface IDictionaryHandler<TKey> : IDictionaryHandler
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Methods

Return Type Definition Description
TKey GetKey(int, int) Gets the key value at the given selection and dictionary index.
TKey GetKey(Object, int) Gets the key value at the given index from the given dictionary.
void Remove(TKey) Queues a remove modification for a given key. Modifications are applied in Repaint.
void SetValue(TKey, Object) Queues a set value modification for a given key. Modifications are applied in Repaint.