Documentation

Unity Engine

Unity Engine

RegisterIDictionary

Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type.
Read time 1 minuteLast updated 2 days ago

Definition

RegisterIDictionary<T, U, V>()

Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type.
public static void RegisterIDictionary<TDictionary, TKey, TValue>() where TDictionary : IDictionary<TKey, TValue>

Remarks

To generate AOT paths for visitors use RegisterIDictionary{TContainer, TDictionary, TKey, TValue} instead.

RegisterIDictionary<T, U, V, W>()

Creates and registers a IPropertyBag<TContainer> for the specified IDictionary_2 type.
public static void RegisterIDictionary<TContainer, TDictionary, TKey, TValue>() where TDictionary : IDictionary<TKey, TValue>

Remarks

The container is required to provide AOT code paths for PropertyVisitor.