Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    PluginControllerAttribute(String)

    Initializes a new instance of the PluginControllerAttribute class.

    Declaration
    public PluginControllerAttribute(string areaName)
    Parameters
    Type Name Description
    System.String areaName

    Properties

    View Source

    AreaName

    Gets the name of the area.

    Declaration
    public string AreaName { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PluginControllerAttribute(String)
    • Properties
      • AreaName
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX