C# Class JsonWriter, tf_client

Afficher le fichier Open project: wids-eria/tf_client Class Usage Examples

Méthodes publiques

Méthode Description
JsonWriter ( StringBuilder sb ) : System
JsonWriter ( TextWriter writer ) : System
Reset ( ) : void
ToString ( ) : string
Write ( bool boolean ) : void
Write ( decimal number ) : void
Write ( double number ) : void
Write ( int number ) : void
Write ( long number ) : void
Write ( string str ) : void
Write ( ulong number ) : void
WriteArrayEnd ( ) : void
WriteArrayStart ( ) : void
WriteObjectEnd ( ) : void
WriteObjectStart ( ) : void
WritePropertyName ( string property_name ) : void

Private Methods

Méthode Description
DoValidation ( Condition cond ) : void
Indent ( ) : void
Init ( ) : void
IntToHex ( int n, char hex ) : void
JsonWriter ( ) : System
Put ( string str ) : void
PutNewline ( ) : void
PutNewline ( bool add_comma ) : void
PutString ( string str ) : void
Unindent ( ) : void

Method Details

JsonWriter() public méthode

public JsonWriter ( StringBuilder sb ) : System
sb StringBuilder
Résultat System

JsonWriter() public méthode

public JsonWriter ( TextWriter writer ) : System
writer TextWriter
Résultat System

Reset() public méthode

public Reset ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Write() public méthode

public Write ( bool boolean ) : void
boolean bool
Résultat void

Write() public méthode

public Write ( decimal number ) : void
number decimal
Résultat void

Write() public méthode

public Write ( double number ) : void
number double
Résultat void

Write() public méthode

public Write ( int number ) : void
number int
Résultat void

Write() public méthode

public Write ( long number ) : void
number long
Résultat void

Write() public méthode

public Write ( string str ) : void
str string
Résultat void

Write() public méthode

public Write ( ulong number ) : void
number ulong
Résultat void

WriteArrayEnd() public méthode

public WriteArrayEnd ( ) : void
Résultat void

WriteArrayStart() public méthode

public WriteArrayStart ( ) : void
Résultat void

WriteObjectEnd() public méthode

public WriteObjectEnd ( ) : void
Résultat void

WriteObjectStart() public méthode

public WriteObjectStart ( ) : void
Résultat void

WritePropertyName() public méthode

public WritePropertyName ( string property_name ) : void
property_name string
Résultat void