Skip to content

DurableStateManagerExtensions.GetOrAddDictionary(IDurableStateManager, string)

GetOrAddDictionary(IDurableStateManager, string)

staticextension
View source
public static IDurableDictionary<TKey, TValue> GetOrAddDictionary<TKey, TValue>(this IDurableStateManager manager, string name)
Gets or creates a named durable dictionary.

Parameters

managerIDurableStateManager
The owning manager.
namestring
The stable state name.

Returns

The named dictionary instance.