Class ApplicationBuilderExtensions
Extension methods for IApplicationBuilder to simplify middleware registration.
Inherited Members
Namespace: SixLabors.ImageSharp.Web.DependencyInjection
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public static class ApplicationBuilderExtensions
Methods
| Edit this page View SourceUseImageSharp(IApplicationBuilder)
Registers the ImageSharp middleware.
Declaration
public static IApplicationBuilder UseImageSharp(this IApplicationBuilder app)
Parameters
Type | Name | Description |
---|---|---|
IApplicationBuilder | app | The application with the mechanism to configure a request pipeline. |
Returns
Type | Description |
---|---|
IApplicationBuilder |