Class ServicesConfiguration
Provides extension methods for registering ImageSharp media services into the dependency injection container.
Inherited Members
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. |