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