C# Class Rests.RestCommand

Afficher le fichier Open project: NyxStudios/TShock Class Usage Examples

Méthodes publiques

Méthode Description
Execute ( RestVerbs verbs, IParameterCollection parameters, IRequest request, IHttpContext context ) : object
RestCommand ( string uritemplate, RestCommandD callback ) : System.Linq

RestCommand ( string name, string uritemplate, RestCommandD callback ) : System.Linq

Method Details

Execute() public méthode

public Execute ( RestVerbs verbs, IParameterCollection parameters, IRequest request, IHttpContext context ) : object
verbs RestVerbs
parameters IParameterCollection
request IRequest
context IHttpContext
Résultat object

RestCommand() public méthode

public RestCommand ( string uritemplate, RestCommandD callback ) : System.Linq
uritemplate string Url template
callback RestCommandD Rest Command callback
Résultat System.Linq

RestCommand() public méthode

public RestCommand ( string name, string uritemplate, RestCommandD callback ) : System.Linq
name string Used for identification
uritemplate string Url template
callback RestCommandD Rest Command callback
Résultat System.Linq