Свойство | Тип | Описание |
---|
Метод | Описание | |
---|---|---|
DynamicRoute ( HttpMethod method, Regex path, Func handler, string guid = null, object metadata = null ) : System |
Create a new route object.
|
public DynamicRoute ( HttpMethod method, Regex path, Func handler, string guid = null, object metadata = null ) : System | ||
method | HttpMethod | The HTTP method, i.e. GET, PUT, POST, DELETE, etc. |
path | Regex | The pattern against which the raw URL should be matched. |
handler | Func | The method that should be called to handle the request. |
guid | string | Globally-unique identifier. |
metadata | object | User-supplied metadata. |
Результат | System |