Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoRouteValues

    Represents the data required to route to a specific controller/action during an Umbraco request

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.Routing
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class UmbracoRouteValues

    Constructors

    View Source

    UmbracoRouteValues(IPublishedRequest, ControllerActionDescriptor, String)

    Initializes a new instance of the UmbracoRouteValues class.

    Declaration
    public UmbracoRouteValues(IPublishedRequest publishedRequest, ControllerActionDescriptor controllerActionDescriptor, string templateName = null)
    Parameters
    Type Name Description
    IPublishedRequest publishedRequest
    Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor controllerActionDescriptor
    System.String templateName

    Fields

    View Source

    DefaultActionName

    The default action name

    Declaration
    public const string DefaultActionName = "Index"
    Field Value
    Type Description
    System.String

    Properties

    View Source

    ActionName

    Gets the action name

    Declaration
    public string ActionName { get; }
    Property Value
    Type Description
    System.String
    View Source

    ControllerActionDescriptor

    Gets the Controller descriptor found for routing to

    Declaration
    public ControllerActionDescriptor ControllerActionDescriptor { get; }
    Property Value
    Type Description
    Microsoft.AspNetCore.Mvc.Controllers.ControllerActionDescriptor
    View Source

    ControllerName

    Gets the controller name

    Declaration
    public string ControllerName { get; }
    Property Value
    Type Description
    System.String
    View Source

    ControllerType

    Gets the controller type

    Declaration
    public Type ControllerType { get; }
    Property Value
    Type Description
    Type
    View Source

    PublishedRequest

    Gets the IPublishedRequest

    Declaration
    public IPublishedRequest PublishedRequest { get; }
    Property Value
    Type Description
    IPublishedRequest
    View Source

    TemplateName

    Gets the template name

    Declaration
    public string TemplateName { get; }
    Property Value
    Type Description
    System.String
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoRouteValues(IPublishedRequest, ControllerActionDescriptor, String)
    • Fields
      • DefaultActionName
    • Properties
      • ActionName
      • ControllerActionDescriptor
      • ControllerName
      • ControllerType
      • PublishedRequest
      • TemplateName
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX