Table of Contents

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

options IOptions<PhysicalFileSystemProviderOptions>

The provider configuration options.

environment IWebHostEnvironment

The environment used by this middleware.

formatUtilities FormatUtilities

Contains various format helper methods based on the current configuration.