ICacheDependency Interface
Interface that must be implemented by classes that need to be used as cache dependencies, for use with the AddDependency(ICachingService, ICacheDependency) method. Alternatively, custom classes may implement the IFormattable<T> interface or simply the ToString() method.
Namespace: Metalama.Patterns.Caching.Dependencies
Assembly: Metalama.Patterns.Caching.dll
Syntax
public interface ICacheDependency
Properties
Name | Description |
---|---|
CascadeDependencies | Gets the list of dependencies that must also be invalidated when the current dependency is invalidated. |
Methods
Name | Description |
---|---|
GetCacheKey(ICachingService) | Gets a string that uniquely represents the current object. |