Table of Contents

Class ServiceCollectionExtensions

Namespace
Cuemon.Extensions.AspNetCore.Configuration
Assembly
Cuemon.Extensions.AspNetCore.dll

Extension methods for the IServiceCollection interface.

public static class ServiceCollectionExtensions
Inheritance
ServiceCollectionExtensions

Methods

AddAssemblyCacheBusting(IServiceCollection)

Adds an AssemblyCacheBusting service to the specified IServiceCollection.

public static IServiceCollection AddAssemblyCacheBusting(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

An IServiceCollection that can be used to further configure other services.

AddCacheBusting<T>(IServiceCollection)

Adds a cache-busting service to the specified IServiceCollection.

public static IServiceCollection AddCacheBusting<T>(this IServiceCollection services)
    where T : class, ICacheBusting

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

An IServiceCollection that can be used to further configure other services.

Type Parameters

T

AddDynamicCacheBusting(IServiceCollection)

Adds a DynamicCacheBusting service to the specified IServiceCollection.

public static IServiceCollection AddDynamicCacheBusting(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

An IServiceCollection that can be used to further configure other services.