PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Caching.​Backends.​Azure Namespace/Azure­Cache­Invalidator Class/Azure­Cache­Invalidator Methods/Azure­Cache­Invalidator.​Create Method

AzureCacheInvalidator.Create Method

Creates a new AzureCacheInvalidator.

Namespace:  PostSharp.Patterns.Caching.Backends.Azure
Assembly:  PostSharp.Patterns.Caching.Backends.Azure (in PostSharp.Patterns.Caching.Backends.Azure.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public static AzureCacheInvalidator Create(
	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: AzureCacheInvalidator
A new AzureCacheInvalidator.
See Also