Search Results for

    Show / Hide Table of Contents
    View Source

    Class NoopImageUrlGenerator

    A no-operation implementation of IImageUrlGenerator that returns the original image URL without modifications.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Media
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class NoopImageUrlGenerator : IImageUrlGenerator

    Constructors

    View Source

    NoopImageUrlGenerator()

    Declaration
    public NoopImageUrlGenerator()

    Properties

    View Source

    SupportedImageFileTypes

    Gets the supported image file types/extensions.

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

    The supported image file types/extensions.

    Methods

    View Source

    GetImageUrl(ImageUrlGenerationOptions)

    Gets the image URL based on the specified options.

    Declaration
    public string? GetImageUrl(ImageUrlGenerationOptions options)
    Parameters
    Type Name Description
    ImageUrlGenerationOptions options

    The image URL generation options.

    Returns
    Type Description
    string

    The generated image URL.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX