Skip to main content

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​
TypeName
System.StringrestPath
Type Parameters​
  • TRequest

Add<TRequest>(String, String)​

View Source​
Declaration
public IServiceRoutes Add<TRequest>(string restPath, string verbs)
Returns​

ServiceStack.Web.IServiceRoutes

Parameters​
TypeName
System.StringrestPath
System.Stringverbs
Type Parameters​
  • TRequest

Add(Type, String, String)​

View Source​
Declaration
public IServiceRoutes Add(Type requestType, string restPath, string verbs)
Returns​

ServiceStack.Web.IServiceRoutes

Parameters​
TypeName
System.TyperequestType
System.StringrestPath
System.Stringverbs

Add(Type, String, String, Int32)​

View Source​
Declaration
public IServiceRoutes Add(Type requestType, string restPath, string verbs, int priority)
Returns​

ServiceStack.Web.IServiceRoutes

Parameters​
TypeName
System.TyperequestType
System.StringrestPath
System.Stringverbs
System.Int32priority

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​
TypeName
System.TyperequestType
System.StringrestPath
System.Stringverbs
System.Stringsummary
System.Stringnotes

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​
TypeName
System.TyperequestType
System.StringrestPath
System.Stringverbs
System.Stringsummary
System.Stringnotes
System.Stringmatches

Implements​