Class PluginControllerAttribute
Indicates that a controller is a plugin controller and will be routed to its own area.
Inheritance
System.Object
System.Attribute
Microsoft.AspNetCore.Mvc.Routing.RouteValueAttribute
Microsoft.AspNetCore.Mvc.AreaAttribute
Namespace: Umbraco.Cms.Web.Common.Attributes
Assembly: Umbraco.Web.Common.dll
Syntax
public class PluginControllerAttribute : AreaAttribute, IRouteValueProvider
Constructors
View SourcePluginControllerAttribute(String)
Initializes a new instance of the PluginControllerAttribute class.
Declaration
public PluginControllerAttribute(string areaName)
Parameters
Type | Name | Description |
---|---|---|
System.String | areaName |
Properties
View SourceAreaName
Gets the name of the area.
Declaration
public string AreaName { get; }
Property Value
Type | Description |
---|---|
System.String |