Class UmbracoBackofficeToken
Adds a custom template token for specifying backoffice route with attribute routing
Inheritance
object
Namespace: Umbraco.Cms.Web.Common.Routing
Assembly: Umbraco.Web.Common.dll
Syntax
public class UmbracoBackofficeToken
Constructors
View SourceUmbracoBackofficeToken(string, string)
Declaration
public UmbracoBackofficeToken(string tokenName, string umbracoPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | tokenName | |
| string | umbracoPath |
Methods
View SourceApply(ApplicationModel)
Called to apply the convention to the Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel.
Declaration
public void Apply(ApplicationModel application)
Parameters
| Type | Name | Description |
|---|---|---|
| ApplicationModel | application | The Microsoft.AspNetCore.Mvc.ApplicationModels.ApplicationModel. |