DataWeb
Search Results for

    Show / Hide Table of Contents

    Class ServicesConfiguration

    Provides extension methods for registering ImageSharp media services into the dependency injection container.

    Inheritance
    object
    ServicesConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: DataWeb.Media.ImageSharp
    Assembly: DataWeb.Media.ImageSharp.dll
    Syntax
    public static class ServicesConfiguration

    Methods

    AddDataWebMediaImageSharp(IServiceCollection)

    Registers the ImageSharp implementation of IImageService as a scoped service.

    Declaration
    public static IServiceCollection AddDataWebMediaImageSharp(this IServiceCollection services)
    Parameters
    Type Name Description
    IServiceCollection services

    The IServiceCollection to add the services to.

    Returns
    Type Description
    IServiceCollection

    The same IServiceCollection instance for chaining.

    In this article
    Back to top Generated by DocFX