Class ApiMediaUrlProvider
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class ApiMediaUrlProvider : IApiMediaUrlProvider
Constructors
View SourceApiMediaUrlProvider(IPublishedUrlProvider)
Declaration
public ApiMediaUrlProvider(IPublishedUrlProvider publishedUrlProvider)
Parameters
Type | Name | Description |
---|---|---|
IPublishedUrlProvider | publishedUrlProvider |
Methods
View SourceGetUrl(IPublishedContent)
Declaration
public string GetUrl(IPublishedContent media)
Parameters
Type | Name | Description |
---|---|---|
IPublishedContent | media |
Returns
Type | Description |
---|---|
System.String |