Table of Contents

Class ServiceCollectionExtensions

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

Extension methods for the Microsoft.Extensions.DependencyInjection.IServiceCollection interface.

public static class ServiceCollectionExtensions
Inheritance
Object
ServiceCollectionExtensions

Methods

AddAssemblyCacheBusting(IServiceCollection)

Adds an AssemblyCacheBusting service to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

public static IServiceCollection AddAssemblyCacheBusting(this IServiceCollection services)

Parameters

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

Returns

IServiceCollection

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

AddCacheBusting<T>(IServiceCollection)

Adds a cache-busting service to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

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

Parameters

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

Returns

IServiceCollection

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

Type Parameters

T

AddDynamicCacheBusting(IServiceCollection)

Adds a DynamicCacheBusting service to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection.

public static IServiceCollection AddDynamicCacheBusting(this IServiceCollection services)

Parameters

services IServiceCollection

The Microsoft.Extensions.DependencyInjection.IServiceCollection to add services to.

Returns

IServiceCollection

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