Method AddDependency
AddDependency<TKey, TValue>(Cache<TKey, TValue>, TKey)
Adds a dependency specification for a dependant (child) object.
public void AddDependency<TKey, TValue>(Cache<TKey, TValue> cache, TKey key)
Parameters
cacheCache<TKey, TValue>The Cache<TKey, TValue> instance containing the parent object.
keyTKeyThe key identifying the parent object.
Type Parameters
TKeyType of key used to identify the parent object.
TValueType of the parent object.