Table of Contents

Constructor RouteAttribute

Namespace: Sisk.Core.Routing
Assembly: Sisk.Core.dll

RouteAttribute(RouteMethod, string)

Creates an new RouteAttribute instance with given route method and path pattern.

public RouteAttribute(RouteMethod method, string path)

Parameters

method RouteMethod

The route entry point method.

path string

The route path.