Class ConfigureImageSharpMiddlewareOptions
Configures the ImageSharp middleware options.
Inheritance
System.Object
Namespace: Umbraco.Cms.Imaging.ImageSharp
Assembly: Umbraco.Cms.Imaging.ImageSharp.dll
Syntax
public sealed class ConfigureImageSharpMiddlewareOptions : IConfigureOptions<ImageSharpMiddlewareOptions>
Constructors
View SourceConfigureImageSharpMiddlewareOptions(Configuration, IOptions<ImagingSettings>)
Initializes a new instance of the ConfigureImageSharpMiddlewareOptions class.
Declaration
public ConfigureImageSharpMiddlewareOptions(Configuration configuration, IOptions<ImagingSettings> imagingSettings)
Parameters
Type | Name | Description |
---|---|---|
Configuration | configuration | The ImageSharp configuration. |
IOptions<ImagingSettings> | imagingSettings | The Umbraco imaging settings. |
Methods
View SourceConfigure(ImageSharpMiddlewareOptions)
Declaration
public void Configure(ImageSharpMiddlewareOptions options)
Parameters
Type | Name | Description |
---|---|---|
ImageSharpMiddlewareOptions | options |