Class PhysicalFileSystemProvider
Returns images stored in the local physical file system.
Implements
Inherited Members
Namespace: SixLabors.ImageSharp.Web.Providers
Assembly: SixLabors.ImageSharp.Web.dll
Syntax
public sealed class PhysicalFileSystemProvider : FileProviderImageProvider, IImageProvider
Constructors
| Improve this Doc View SourcePhysicalFileSystemProvider(IOptions<PhysicalFileSystemProviderOptions>, IWebHostEnvironment, FormatUtilities)
Initializes a new instance of the PhysicalFileSystemProvider class.
Declaration
public PhysicalFileSystemProvider(IOptions<PhysicalFileSystemProviderOptions> options, IWebHostEnvironment environment, FormatUtilities formatUtilities)
Parameters
Type | Name | Description |
---|---|---|
IOptions<PhysicalFileSystemProviderOptions> | options | The provider configuration options. |
IWebHostEnvironment | environment | The environment used by this middleware. |
FormatUtilities | formatUtilities | Contains various format helper methods based on the current configuration. |