View Source
Class ApiContentRouteBuilder
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public sealed class ApiContentRouteBuilder : IApiContentRouteBuilder
Constructors
View Source
ApiContentRouteBuilder(IApiContentPathProvider, IOptions<GlobalSettings>, IVariationContextAccessor, IPublishedSnapshotAccessor, IRequestPreviewService, IOptionsMonitor<RequestHandlerSettings>)
Declaration
public ApiContentRouteBuilder(IApiContentPathProvider apiContentPathProvider, IOptions<GlobalSettings> globalSettings, IVariationContextAccessor variationContextAccessor, IPublishedSnapshotAccessor publishedSnapshotAccessor, IRequestPreviewService requestPreviewService, IOptionsMonitor<RequestHandlerSettings> requestSettings)
Parameters
View Source
ApiContentRouteBuilder(IPublishedUrlProvider, IOptions<GlobalSettings>, IVariationContextAccessor, IPublishedSnapshotAccessor, IRequestPreviewService, IOptionsMonitor<RequestHandlerSettings>)
Declaration
public ApiContentRouteBuilder(IPublishedUrlProvider publishedUrlProvider, IOptions<GlobalSettings> globalSettings, IVariationContextAccessor variationContextAccessor, IPublishedSnapshotAccessor publishedSnapshotAccessor, IRequestPreviewService requestPreviewService, IOptionsMonitor<RequestHandlerSettings> requestSettings)
Parameters
View Source
ApiContentRouteBuilder(IPublishedUrlProvider, IApiContentPathProvider, IOptions<GlobalSettings>, IVariationContextAccessor, IPublishedSnapshotAccessor, IRequestPreviewService, IOptionsMonitor<RequestHandlerSettings>)
Declaration
public ApiContentRouteBuilder(IPublishedUrlProvider publishedUrlProvider, IApiContentPathProvider apiContentPathProvider, IOptions<GlobalSettings> globalSettings, IVariationContextAccessor variationContextAccessor, IPublishedSnapshotAccessor publishedSnapshotAccessor, IRequestPreviewService requestPreviewService, IOptionsMonitor<RequestHandlerSettings> requestSettings)
Parameters
Methods
View Source
Build(IPublishedContent, String)
Declaration
public IApiContentRoute Build(IPublishedContent content, string culture = null)
Parameters
Returns