Search Results for

    Show / Hide Table of Contents
    View Source

    Class ApiMedia

    Inheritance
    System.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, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, 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
    System.String name
    System.String mediaType
    System.String url
    System.String extension
    System.Nullable<System.Int32> width
    System.Nullable<System.Int32> height
    System.Nullable<System.Int32> bytes
    IDictionary<System.String, System.Object> properties

    Properties

    View Source

    Bytes

    Declaration
    public int? Bytes { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    View Source

    Extension

    Declaration
    public string Extension { get; }
    Property Value
    Type Description
    System.String
    View Source

    Height

    Declaration
    public int? Height { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    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
    System.String
    View Source

    Name

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

    Properties

    Declaration
    public IDictionary<string, object> Properties { get; }
    Property Value
    Type Description
    IDictionary<System.String, System.Object>
    View Source

    Url

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

    Width

    Declaration
    public int? Width { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ApiMedia(Guid, String, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, IDictionary<String, Object>)
    • Properties
      • Bytes
      • Extension
      • Height
      • Id
      • MediaType
      • Name
      • Properties
      • Url
      • Width
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX