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