MetalamaAPI documentationPatterns APIMetalama.​Patterns.​Caching.​BuildingCaching­Service­FactoryAdd­Caching
Open sandboxFocus

CachingServiceFactory.AddCaching Method

AddCaching(IServiceCollection, Action<ICachingServiceBuilder>)

Declaration
public static IServiceCollection AddCaching(this IServiceCollection serviceCollection, Action<ICachingServiceBuilder> build = null)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection
System.Action<ICachingServiceBuilder> build
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection