View Source
Inheritance
System.Object
Assembly: Umbraco.Core.dll
public static class MediaExtensions
Methods
View Source
Gets the URL of a media item.
Declaration
public static string GetUrl(this IMedia media, string propertyAlias, MediaUrlGeneratorCollection mediaUrlGenerators)
Parameters
Returns
Type |
Description |
System.String |
|
View Source
GetUrls(IMedia, ContentSettings, MediaUrlGeneratorCollection)
Gets the URLs of a media item.
Declaration
public static string[] GetUrls(this IMedia media, ContentSettings contentSettings, MediaUrlGeneratorCollection mediaUrlGenerators)
Parameters
Returns
Type |
Description |
System.String[] |
|