• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web.Caching.Azure
      • AzureBlobStorageCache
      • AzureBlobStorageCacheOptions
    • SixLabors.ImageSharp.Web.Providers.Azure
      • AzureBlobContainerClientOptions
      • AzureBlobStorageImageProvider
      • AzureBlobStorageImageProviderOptions
    • SixLabors.ImageSharp.Web.Resolvers.Azure
      • AzureBlobStorageCacheResolver
      • AzureBlobStorageImageResolver

    Class AzureBlobStorageImageProvider

    Returns images stored in Azure Blob Storage.

    Inheritance
    object
    AzureBlobStorageImageProvider
    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.Azure
    Assembly: SixLabors.ImageSharp.Web.Providers.Azure.dll
    Syntax
    public class AzureBlobStorageImageProvider : IImageProvider

    Constructors

    | Edit this page View Source

    AzureBlobStorageImageProvider(IOptions<AzureBlobStorageImageProviderOptions>, FormatUtilities)

    Initializes a new instance of the AzureBlobStorageImageProvider class.

    Declaration
    public AzureBlobStorageImageProvider(IOptions<AzureBlobStorageImageProviderOptions> storageOptions, FormatUtilities formatUtilities)
    Parameters
    Type Name Description
    IOptions<AzureBlobStorageImageProviderOptions> storageOptions

    The blob storage options.

    FormatUtilities formatUtilities

    Contains various format helper methods based on the current configuration.

    Properties

    | Edit this page 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, bool>
    | Edit this page View Source

    ProcessingBehavior

    Gets the processing behavior.

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

    Methods

    | Edit this page 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.

    | Edit this page 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
    bool

    The bool

    Implements

    IImageProvider
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX