Table of Contents

Method AddDependency

Namespace
Scaleout.Client
Assembly
Scaleout.Client.dll

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

cache Cache<TKey, TValue>

The Cache<TKey, TValue> instance containing the parent object.

key TKey

The key identifying the parent object.

Type Parameters

TKey

Type of key used to identify the parent object.

TValue

Type of the parent object.