ICachingContext Interface |
Represents the context in which a method being cached is executing.
Namespace: PostSharp.Patterns.Caching
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.8.6.0 (6.8.6.0)

C#
public interface ICachingContext
The ICachingContext type exposes the following members.


Name | Description | |
---|---|---|
![]() | AddDependencies(IEnumerable<String>) |
Adds a set of dependencies represented as keys to the current context.
|
![]() | AddDependencies(IEnumerable<ICacheDependency>) |
Adds a set of dependencies represented as ICacheDependency to the current context.
|
![]() | AddDependency(Object) |
Adds a dependency Object the current context. Calling this method is equivalent to wrapping the Object
into an ObjectDependency and calling the AddDependency(ICacheDependency) overload.
|
![]() | AddDependency(String) |
Adds a dependency represented as a key to the current context.
|
![]() | AddDependency(ICacheDependency) |
Adds a dependency represented as an ICacheDependency to the current context.
|
