AzureCacheInvalidator.CreateAsync Method |
Namespace: PostSharp.Patterns.Caching.Backends.Azure
Assembly: PostSharp.Patterns.Caching.Backends.Azure (in PostSharp.Patterns.Caching.Backends.Azure.dll) Version: 2023.0.3.0 (2023.0.3.0)
public static Task<AzureCacheInvalidator> CreateAsync( CachingBackend backend, AzureCacheInvalidatorOptions options )
Parameters
- backend
- Type: PostSharp.Patterns.Caching.Implementation.CachingBackend
The local (in-memory, typically) cache being invalidated by the new AzureCacheInvalidator. - options
- Type: PostSharp.Patterns.Caching.Backends.Azure.AzureCacheInvalidatorOptions
Options.
Return Value
Type: Task<AzureCacheInvalidator>A new AzureCacheInvalidator.