Method ToKey
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