Constructor RouteAttribute
RouteAttribute(RouteMethod, string)
Creates an new RouteAttribute instance with given route method and path pattern.
public RouteAttribute(RouteMethod method, string path)
Parameters
method
RouteMethodThe route entry point method.
path
stringThe route path.