EncodingLibraryGetEncodingMethodTKey, TValue(EncodingDefinition) Method

Gets the Double encoding method

Definition

Namespace: SnapDB.Snap.Encoding
Assembly: SnapDB (in SnapDB.dll) Version: 1.0.102.0 -- Release Build+29075351d0e5aa4dea46a5c520805222f672dc2e
public PairEncodingBase<TKey, TValue> GetEncodingMethod<TKey, TValue>(
	EncodingDefinition encodingMethod
)
where TKey : new(), SnapTypeBase<TKey>
where TValue : new(), SnapTypeBase<TValue>

Parameters

encodingMethod  EncodingDefinition
The encoding method identifier.

Type Parameters

TKey
The type parameter specifying the key data type.
TValue
The type parameter specifying the value data type.

Return Value

PairEncodingBaseTKey, TValue
An instance of the PairEncodingBaseTKey, TValue representing the encoding method.

Exceptions

ExceptionThrown if the type is not registered.

See Also