Class ApiContentNameProvider
Default implementation of IApiContentNameProvider that provides content names for the Delivery API.
Inheritance
object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public sealed class ApiContentNameProvider : IApiContentNameProvider
Constructors
View SourceApiContentNameProvider()
Declaration
public ApiContentNameProvider()
Methods
View SourceGetName(IPublishedContent)
Gets the name of the specified published content.
Declaration
public string GetName(IPublishedContent content)
Parameters
| Type | Name | Description |
|---|---|---|
| IPublishedContent | content | The published content to get the name for. |
Returns
| Type | Description |
|---|---|
| string | The name of the content. |