Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImageSharpImageUrlGenerator

    Exposes a method that generates an image URL based on the specified options that can be processed by ImageSharp.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Imaging.ImageSharp.Media
    Assembly: Umbraco.Cms.Imaging.ImageSharp.dll
    Syntax
    public sealed class ImageSharpImageUrlGenerator : IImageUrlGenerator

    Constructors

    View Source

    ImageSharpImageUrlGenerator(Configuration)

    Initializes a new instance of the ImageSharpImageUrlGenerator class.

    Declaration
    public ImageSharpImageUrlGenerator(Configuration configuration)
    Parameters
    Type Name Description
    Configuration configuration

    The ImageSharp configuration.

    Properties

    View Source

    SupportedImageFileTypes

    Declaration
    public IEnumerable<string> SupportedImageFileTypes { get; }
    Property Value
    Type Description
    IEnumerable<System.String>

    Methods

    View Source

    GetImageUrl(Nullable<ImageUrlGenerationOptions>)

    Declaration
    public string GetImageUrl(ImageUrlGenerationOptions? options)
    Parameters
    Type Name Description
    System.Nullable<ImageUrlGenerationOptions> options
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ImageSharpImageUrlGenerator(Configuration)
    • Properties
      • SupportedImageFileTypes
    • Methods
      • GetImageUrl(Nullable<ImageUrlGenerationOptions>)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX