Unosquare
    Show / Hide Table of Contents

    Class BaseRouteAttribute

    Decorate methods within controllers with this attribute in order to make them callable from the Web API Module Method Must match the WebServerModule.

    Inheritance
    Object
    RouteAttribute
    BaseRouteAttribute
    Inherited Members
    RouteAttribute.Verb
    RouteAttribute.Matcher
    RouteAttribute.Route
    RouteAttribute.IsBaseRoute
    Namespace: EmbedIO.Routing
    Syntax
    public class BaseRouteAttribute : RouteAttribute

    Constructors

    BaseRouteAttribute(HttpVerb, String)

    Initializes a new instance of the BaseRouteAttribute class.

    Declaration
    public BaseRouteAttribute(HttpVerb verb, string route)
    Parameters
    Type Name Description
    HttpVerb verb

    The verb.

    String route

    The route.

    See Also
    IsValid(String, Boolean)

    Comments

    Back to top Copyright © 2017-2019 Unosquare