C# Class JsonFx.JsonRpc.Proxy.JsonServiceProxyGenerator

Generates a JavaScript proxy class for communicating with a JsonService.
Afficher le fichier Open project: pocket-playlab/jsonfx-v1 Class Usage Examples

Méthodes publiques

Méthode Description
OutputProxy ( bool prettyPrint ) : string
OutputProxy ( Stream output, bool prettyPrint ) : void
OutputProxy ( TextWriter writer, bool prettyPrint ) : void

Private Methods

Méthode Description
ConvertParamType ( JsonParameterType paramType ) : string
JsonServiceProxyGenerator ( JsonServiceDescription service ) : System
WriteMethod ( TextWriter writer, JsonMethodDescription method ) : void
WriteNamespaces ( TextWriter writer ) : void
WriteParameter ( TextWriter writer, JsonNamedParameterDescription param ) : void
WriteProperty ( TextWriter writer, string name, object value ) : void

Method Details

OutputProxy() public méthode

public OutputProxy ( bool prettyPrint ) : string
prettyPrint bool
Résultat string

OutputProxy() public méthode

public OutputProxy ( Stream output, bool prettyPrint ) : void
output Stream
prettyPrint bool
Résultat void

OutputProxy() public méthode

public OutputProxy ( TextWriter writer, bool prettyPrint ) : void
writer System.IO.TextWriter
prettyPrint bool
Résultat void