Constructor
RouteAttribute constructor
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.