• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web
      • FormattedImage
      • FormatUtilities
      • ImageCacheMetadata
      • ImageMetadata
    • SixLabors.ImageSharp.Web.Caching
      • CacheHash
      • ICacheHash
      • IImageCache
      • PhysicalFileSystemCache
      • PhysicalFileSystemCacheOptions
    • SixLabors.ImageSharp.Web.Commands
      • CommandParser
      • DictionaryExtensions
      • IRequestParser
      • PresetOnlyQueryCollectionRequestParser
      • PresetOnlyQueryCollectionRequestParserOptions
      • QueryCollectionRequestParser
    • SixLabors.ImageSharp.Web.Commands.Converters
      • ICommandConverter
      • ICommandConverter<T>
    • SixLabors.ImageSharp.Web.DependencyInjection
      • ApplicationBuilderExtensions
      • IImageSharpBuilder
      • ImageSharpBuilderExtensions
      • ImageSharpConfiguration
      • ServiceCollectionExtensions
    • SixLabors.ImageSharp.Web.Middleware
      • ConcurrentDictionaryExtensions
      • ImageCommandContext
      • ImageProcessingContext
      • ImageSharpMiddleware
      • ImageSharpMiddlewareOptions
    • SixLabors.ImageSharp.Web.Processors
      • BackgroundColorWebProcessor
      • FormatWebProcessor
      • IImageWebProcessor
      • JpegQualityWebProcessor
      • ResizeWebProcessor
    • SixLabors.ImageSharp.Web.Providers
      • IImageProvider
      • PhysicalFileSystemProvider
      • ProcessingBehavior
    • SixLabors.ImageSharp.Web.Resolvers
      • IImageCacheResolver
      • IImageResolver
      • PhysicalFileSystemCacheResolver
      • PhysicalFileSystemResolver
    • SixLabors.ImageSharp.Web.Synchronization
      • AsyncKeyLock<TKey>
      • AsyncKeyReaderWriterLock<TKey>
      • AsyncLock
      • AsyncReaderWriterLock
      • RefCountedConcurrentDictionary<TKey, TValue>

    Class PhysicalFileSystemProvider

    Returns images stored in the local physical file system.

    Inheritance
    Object
    PhysicalFileSystemProvider
    Implements
    IImageProvider
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: SixLabors.ImageSharp.Web.Providers
    Assembly: SixLabors.ImageSharp.Web.dll
    Syntax
    public class PhysicalFileSystemProvider : IImageProvider

    Constructors

    | Improve this Doc View Source

    PhysicalFileSystemProvider(IWebHostEnvironment, FormatUtilities)

    Initializes a new instance of the PhysicalFileSystemProvider class.

    Declaration
    public PhysicalFileSystemProvider(IWebHostEnvironment environment, FormatUtilities formatUtilities)
    Parameters
    Type Name Description
    IWebHostEnvironment environment

    The environment used by this middleware.

    FormatUtilities formatUtilities

    Contains various format helper methods based on the current configuration.

    Properties

    | Improve this Doc View Source

    Match

    Gets or sets the method used by the resolver to identify itself as the correct resolver to use.

    Declaration
    public Func<HttpContext, bool> Match { get; set; }
    Property Value
    Type Description
    Func<HttpContext, Boolean>
    | Improve this Doc View Source

    ProcessingBehavior

    Gets the processing behavior.

    Declaration
    public ProcessingBehavior ProcessingBehavior { get; }
    Property Value
    Type Description
    ProcessingBehavior

    Methods

    | Improve this Doc View Source

    GetAsync(HttpContext)

    Gets the image resolver associated with the context.

    Declaration
    public Task<IImageResolver> GetAsync(HttpContext context)
    Parameters
    Type Name Description
    HttpContext context

    The current HTTP request context.

    Returns
    Type Description
    Task<IImageResolver>

    The IImageResolver.

    | Improve this Doc View Source

    IsValidRequest(HttpContext)

    Gets a value indicating whether the current request passes sanitizing rules.

    Declaration
    public bool IsValidRequest(HttpContext context)
    Parameters
    Type Name Description
    HttpContext context

    The current HTTP request context.

    Returns
    Type Description
    Boolean The Boolean

    Implements

    IImageProvider
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX