Open sandboxFocus

Constructor StringDependency

StringDependency(string)

A cache dependency that is already represented as a string.

Declaration
public StringDependency(string Key)
Parameters
Type Name Description
string Key

The string key that uniquely identifies this dependency.

Remarks

Use this class to represent singleton or global dependencies that don't have a corresponding object (for example, "ProductList" or "PriceList" dependencies that represent entire collections).

For object-based dependencies, consider using ObjectDependency instead.

See Also