Class ConfigurePhysicalFileSystemCacheOptions
Configures the ImageSharp physical file system cache options.
Inheritance
System.Object
Namespace: Umbraco.Cms.Imaging.ImageSharp
Assembly: Umbraco.Cms.Imaging.ImageSharp.dll
Syntax
public sealed class ConfigurePhysicalFileSystemCacheOptions : IConfigureOptions<PhysicalFileSystemCacheOptions>
Constructors
View SourceConfigurePhysicalFileSystemCacheOptions(IOptions<ImagingSettings>, IHostEnvironment)
Initializes a new instance of the ConfigurePhysicalFileSystemCacheOptions class.
Declaration
public ConfigurePhysicalFileSystemCacheOptions(IOptions<ImagingSettings> imagingSettings, IHostEnvironment hostEnvironment)
Parameters
Type | Name | Description |
---|---|---|
IOptions<ImagingSettings> | imagingSettings | The Umbraco imaging settings. |
IHostEnvironment | hostEnvironment | The host environment. |
Methods
View SourceConfigure(PhysicalFileSystemCacheOptions)
Declaration
public void Configure(PhysicalFileSystemCacheOptions options)
Parameters
Type | Name | Description |
---|---|---|
PhysicalFileSystemCacheOptions | options |