LibraryGetKeyValueMethodsTKey, TValue Method

Retrieves or creates the KeyValueMethods instance for a specific TKey and TValue type combination.

Definition

Namespace: SnapDB.Snap
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public static KeyValueMethods<TKey, TValue> GetKeyValueMethods<TKey, TValue>()
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>

Type Parameters

TKey
The type of keys in the KeyValueMethods instance.
TValue
The type of values in the KeyValueMethods instance.

Return Value

KeyValueMethodsTKey, TValue
A KeyValueMethods instance for the specified TKey and TValue types.

Remarks

If an existing KeyValueMethods instance is found for the specified types, it is returned. Otherwise, a new KeyValueMethods instance is created and returned.

See Also