View Source
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 |
|
| string |
name |
|
| string |
mediaType |
|
| string |
url |
|
| string |
extension |
|
| int? |
width |
|
| int? |
height |
|
| int? |
bytes |
|
| IDictionary<string, object> |
properties |
|
Properties
View Source
Declaration
public int? Bytes { get; }
Property Value
View Source
Declaration
public string? Extension { get; }
Property Value
View Source
Declaration
public int? Height { get; }
Property Value
View Source
Declaration
Property Value
View Source
Declaration
public string MediaType { get; }
Property Value
View Source
Declaration
public string Name { get; }
Property Value
View Source
Declaration
public IDictionary<string, object?> Properties { get; }
Property Value
| Type |
Description |
| IDictionary<string, object> |
|
View Source
Declaration
public string Url { get; }
Property Value
View Source
Declaration
public int? Width { get; }
Property Value