Class CacheDependencyBuilder
Builder class for creating cache dependencies.
public sealed class CacheDependencyBuilder
- Inheritance
-
objectCacheDependencyBuilder
- Extension Methods
Methods
AddDependency(IEnumerable<string>)
Adds a cache keys to the dependencies stored in this builder.
public CacheDependencyBuilder AddDependency(IEnumerable<string> dependencies)
Parameters
dependencies
IEnumerable<string>Dependencies to add.
Returns
- CacheDependencyBuilder
Returns CacheDependencyBuilder instance to add another dependencies.
AddDependency(string)
Adds a cache key to the dependencies stored in this builder.
public CacheDependencyBuilder AddDependency(string dependency)
Parameters
dependency
stringDependency to add.
Returns
- CacheDependencyBuilder
Returns CacheDependencyBuilder instance to add another dependencies.
Build()
Builds the final cache dependency.
public CMSCacheDependency Build()