Show / Hide Table of Contents

    Class ServiceCollectionExtensions

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

    Inheritance
    System.Object
    ServiceCollectionExtensions
    Namespace: Cuemon.AspNetCore.Mvc.DependencyInjection
    Assembly: Cuemon.AspNetCore.Mvc.dll
    Syntax
    public static class ServiceCollectionExtensions

    Methods

    | Improve this Doc

    AddCacheBusting(IServiceCollection)

    Adds a cache-busting service to the specified Microsoft.Extensions.DependencyInjection.IServiceCollection based on a default instance of AssemblyCacheBusting.

    Declaration
    public static IServiceCollection AddCacheBusting(this IServiceCollection services)
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

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

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

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

    | Improve this Doc

    AddCacheBusting<T>(IServiceCollection)

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

    Declaration
    public static IServiceCollection AddCacheBusting<T>(this IServiceCollection services)
        where T : CacheBusting
    Parameters
    Type Name Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection services

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

    Returns
    Type Description
    Microsoft.Extensions.DependencyInjection.IServiceCollection

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

    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX