Table of Contents

AddCacheBusting Method

Definition

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