PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Caching.​Backends.​Redis Namespace / Redis­Cache­Dependency­Garbage­Collector Class / Redis­Cache­Dependency­Garbage­Collector Methods / Redis­Cache­Dependency­Garbage­Collector.​Create­Async Method

RedisCacheDependencyGarbageCollector.CreateAsync Method

Overload List
  NameDescription
Public methodStatic memberCreateAsync(CachingBackend, CancellationToken)
Asynchronously creates a new RedisCacheDependencyGarbageCollector that uses an existing RedisCachingBackend object.
Public methodStatic memberCreateAsync(IConnectionMultiplexer, RedisCachingBackendConfiguration, CancellationToken)
Asynchronously creates a new RedisCacheDependencyGarbageCollector given a Redis connection and a configuration object.
See Also