C# Class ServiceStackToolkit.Automation.Commands.VerbExtensions

Datei anzeigen Open project: jezzsantos/servicestacktoolkit

Public Methods

Method Description
CreateRequestField ( this verb, string fieldName ) : void
CreateResponseField ( this verb, string fieldName, string dataTypeFormat = "{0}", string fieldType = null ) : void
CreateVerb ( this service, string name, string httpVerb, string routeFormat = null ) : IVerb

Method Details

CreateRequestField() public static method

public static CreateRequestField ( this verb, string fieldName ) : void
verb this
fieldName string
return void

CreateResponseField() public static method

public static CreateResponseField ( this verb, string fieldName, string dataTypeFormat = "{0}", string fieldType = null ) : void
verb this
fieldName string
dataTypeFormat string
fieldType string
return void

CreateVerb() public static method

public static CreateVerb ( this service, string name, string httpVerb, string routeFormat = null ) : IVerb
service this
name string
httpVerb string
routeFormat string
return IVerb