Class BackOfficeAreaRoutes
Creates routes for the back office area
Inheritance
System.Object
Namespace: Umbraco.Cms.Web.BackOffice.Routing
Assembly: Umbraco.Web.BackOffice.dll
Syntax
public sealed class BackOfficeAreaRoutes : IAreaRoutes
Constructors
View SourceBackOfficeAreaRoutes(IOptions<GlobalSettings>, IHostingEnvironment, IRuntimeState, UmbracoApiControllerTypeCollection)
Initializes a new instance of the BackOfficeAreaRoutes class.
Declaration
public BackOfficeAreaRoutes(IOptions<GlobalSettings> globalSettings, IHostingEnvironment hostingEnvironment, IRuntimeState runtimeState, UmbracoApiControllerTypeCollection apiControllers)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<GlobalSettings> | globalSettings | |
IHostingEnvironment | hostingEnvironment | |
IRuntimeState | runtimeState | |
UmbracoApiControllerTypeCollection | apiControllers |
Methods
View SourceCreateRoutes(IEndpointRouteBuilder)
Create routes for an area
Declaration
public void CreateRoutes(IEndpointRouteBuilder endpoints)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Routing.IEndpointRouteBuilder | endpoints | The endpoint route builder |