Table of Contents

Method ToKey

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

ToKey<TKey, TValue>(Cache<TKey, TValue>)

Converts the DependencySpec to the key type used by the provided Cache<TKey, TValue> instance.

public TKey ToKey<TKey, TValue>(Cache<TKey, TValue> cache)

Parameters

cache Cache<TKey, TValue>

Returns

TKey

Type Parameters

TKey
TValue