View Source
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public sealed class ApiMedia : IApiMedia
Constructors
View Source
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
Declaration
public int? Bytes { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
Declaration
public string Extension { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Declaration
public int? Height { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|
View Source
Declaration
Property Value
View Source
Declaration
public string MediaType { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Declaration
public IDictionary<string, object> Properties { get; }
Property Value
Type |
Description |
IDictionary<System.String, System.Object> |
|
View Source
Declaration
public string Url { get; }
Property Value
Type |
Description |
System.String |
|
View Source
Declaration
public int? Width { get; }
Property Value
Type |
Description |
System.Nullable<System.Int32> |
|