Table of Contents

Class DaprCacheServicesExtension

Namespace
Arc4u.Caching.Dapr
Assembly
Arc4u.Caching.Dapr.dll

Extension methods to register the ICache implementation of the Arc4u.Caching.Dapr package.

public static class DaprCacheServicesExtension
Inheritance
DaprCacheServicesExtension
Inherited Members

Methods

AddDaprCacheKind(IServiceCollection)

Registers DaprCache with the kind Dapr as keyed ICache service, so that the caches declared with this Kind in the caching configuration section can be resolved by the ICacheContext. Calling it more than once has no effect.

public static IServiceCollection AddDaprCacheKind(this IServiceCollection services)

Parameters

services IServiceCollection

The service collection.

Returns

IServiceCollection

The same IServiceCollection, for chaining.