ServiceRoutes
Assembly: ServiceStack.dll
View Source
Declaration
public class ServiceRoutes : IServiceRoutes
Methods
Add<TRequest>(String)
View Source
Declaration
public IServiceRoutes Add<TRequest>(string restPath)
Returns
ServiceStack.Web.IServiceRoutes
Parameters
Type | Name |
---|---|
System.String | restPath |
Type Parameters
TRequest
Add<TRequest>(String, String)
View Source
Declaration
public IServiceRoutes Add<TRequest>(string restPath, string verbs)
Returns
ServiceStack.Web.IServiceRoutes
Parameters
Type | Name |
---|---|
System.String | restPath |
System.String | verbs |
Type Parameters
TRequest
Add(Type, String, String)
View Source
Declaration
public IServiceRoutes Add(Type requestType, string restPath, string verbs)
Returns
ServiceStack.Web.IServiceRoutes
Parameters
Type | Name |
---|---|
System.Type | requestType |
System.String | restPath |
System.String | verbs |
Add(Type, String, String, Int32)
View Source
Declaration
public IServiceRoutes Add(Type requestType, string restPath, string verbs, int priority)
Returns
ServiceStack.Web.IServiceRoutes
Parameters
Type | Name |
---|---|
System.Type | requestType |
System.String | restPath |
System.String | verbs |
System.Int32 | priority |
Add(Type, String, String, String, String)
View Source
Declaration
public IServiceRoutes Add(Type requestType, string restPath, string verbs, string summary, string notes)
Returns
ServiceStack.Web.IServiceRoutes
Parameters
Type | Name |
---|---|
System.Type | requestType |
System.String | restPath |
System.String | verbs |
System.String | summary |
System.String | notes |
Add(Type, String, String, String, String, String)
View Source
Declaration
public IServiceRoutes Add(Type requestType, string restPath, string verbs, string summary, string notes, string matches)
Returns
ServiceStack.Web.IServiceRoutes
Parameters
Type | Name |
---|---|
System.Type | requestType |
System.String | restPath |
System.String | verbs |
System.String | summary |
System.String | notes |
System.String | matches |