KpokPatagonCacheBuilderExtensions

Builder extension methods to register cache services.

Namespace:
KpokPatagon.Cache.DependencyInjection
Type:
Class
Public:
Yes
Protected:
No
Sealed:
Yes
Abstract:
Yes

Methods

AddKpokCacheService

Adds an ICacheService implemented by CacheService to DI.

Signature:
public IServiceCollection AddKpokCacheService(services, configuration, configurationKey)
Parameters
Name Type Summary
services IServiceCollection The service collection.
configuration IConfiguration The configuration for the application.
configurationKey String The key for the cache configuration section.

In this document