Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiMedia

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class ApiMedia : IApiMedia

    Constructors

    View Source

    ApiMedia(Guid, string, string, string, string?, int?, int?, int?, IDictionary<string, object?>)

    Declaration
    public ApiMedia(Guid id, string name, string mediaType, string url, string? extension, int? width, int? height, int? bytes, IDictionary<string, object?> properties)
    Parameters
    Type Name Description
    Guid id
    string name
    string mediaType
    string url
    string extension
    int? width
    int? height
    int? bytes
    IDictionary<string, object> properties

    Properties

    View Source

    Bytes

    Declaration
    public int? Bytes { get; }
    Property Value
    Type Description
    int?
    View Source

    Extension

    Declaration
    public string? Extension { get; }
    Property Value
    Type Description
    string
    View Source

    Height

    Declaration
    public int? Height { get; }
    Property Value
    Type Description
    int?
    View Source

    Id

    Declaration
    public Guid Id { get; }
    Property Value
    Type Description
    Guid
    View Source

    MediaType

    Declaration
    public string MediaType { get; }
    Property Value
    Type Description
    string
    View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    View Source

    Properties

    Declaration
    public IDictionary<string, object?> Properties { get; }
    Property Value
    Type Description
    IDictionary<string, object>
    View Source

    Url

    Declaration
    public string Url { get; }
    Property Value
    Type Description
    string
    View Source

    Width

    Declaration
    public int? Width { get; }
    Property Value
    Type Description
    int?
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX