• Articles
  • API Documentation
Search Results for

    Show / Hide Table of Contents
    • SixLabors.ImageSharp.Web
      • AmazonS3BucketClient
      • IAWSS3BucketClientOptions
    • SixLabors.ImageSharp.Web.Caching.AWS
      • AWSS3StorageCache
      • AWSS3StorageCacheOptions
    • SixLabors.ImageSharp.Web.Providers.AWS
      • AWSS3BucketClientOptions
      • AWSS3StorageImageProvider
      • AWSS3StorageImageProviderOptions
    • SixLabors.ImageSharp.Web.Resolvers.AWS
      • AWSS3StorageCacheResolver
      • AWSS3StorageImageResolver

    Class AWSS3StorageImageProvider

    Returns images stored in AWS S3.

    Inheritance
    object
    AWSS3StorageImageProvider
    Implements
    IImageProvider
    IDisposable
    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.AWS
    Assembly: SixLabors.ImageSharp.Web.Providers.AWS.dll
    Syntax
    public class AWSS3StorageImageProvider : IImageProvider, IDisposable

    Constructors

    | Edit this page View Source

    AWSS3StorageImageProvider(IOptions<AWSS3StorageImageProviderOptions>, FormatUtilities, IServiceProvider)

    Initializes a new instance of the AWSS3StorageImageProvider class.

    Declaration
    public AWSS3StorageImageProvider(IOptions<AWSS3StorageImageProviderOptions> storageOptions, FormatUtilities formatUtilities, IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    IOptions<AWSS3StorageImageProviderOptions> storageOptions

    The S3 storage options

    FormatUtilities formatUtilities

    Contains various format helper methods based on the current configuration.

    IServiceProvider serviceProvider

    The current service provider.

    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

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()
    | Edit this page View Source

    Dispose(bool)

    Releases the unmanaged resources used by the AWSS3StorageImageProvider and optionally releases the managed resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    | 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
    IDisposable
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX