C# Class Microsoft.HockeyApp.Extensibility.Implementation.JsonWriter

Inheritance: IJsonWriter
ファイルを表示 Open project: bitstadium/HockeySDK-Windows Class Usage Examples

Public Methods

Method Description
WriteComma ( ) : void
WriteEndArray ( ) : void
WriteEndObject ( ) : void
WriteProperty ( string name, DateTimeOffset value ) : void
WriteProperty ( string name, double>.IDictionary values ) : void
WriteProperty ( string name, string>.IDictionary values ) : void
WriteProperty ( string name, IJsonSerializable value ) : void
WriteProperty ( string name, System.TimeSpan value ) : void
WriteProperty ( string name, bool value ) : void
WriteProperty ( string name, double value ) : void
WriteProperty ( string name, int value ) : void
WriteProperty ( string name, string value ) : void
WritePropertyName ( string name ) : void

Writes the specified property name enclosed in double quotation marks followed by a colon.

When this method is called multiple times, the second call after WriteStartObject and all subsequent calls will write a coma before the name.

WriteRawValue ( object value ) : void
WriteStartArray ( ) : void
WriteStartObject ( ) : void

Protected Methods

Method Description
IsNullOrEmpty ( IJsonSerializable instance ) : bool
WriteString ( string value ) : void

Private Methods

Method Description
JsonWriter ( TextWriter textWriter ) : System

Method Details

IsNullOrEmpty() protected method

protected IsNullOrEmpty ( IJsonSerializable instance ) : bool
instance IJsonSerializable
return bool

WriteComma() public method

public WriteComma ( ) : void
return void

WriteEndArray() public method

public WriteEndArray ( ) : void
return void

WriteEndObject() public method

public WriteEndObject ( ) : void
return void

WriteProperty() public method

public WriteProperty ( string name, DateTimeOffset value ) : void
name string
value DateTimeOffset
return void

WriteProperty() public method

public WriteProperty ( string name, double>.IDictionary values ) : void
name string
values double>.IDictionary
return void

WriteProperty() public method

public WriteProperty ( string name, string>.IDictionary values ) : void
name string
values string>.IDictionary
return void

WriteProperty() public method

public WriteProperty ( string name, IJsonSerializable value ) : void
name string
value IJsonSerializable
return void

WriteProperty() public method

public WriteProperty ( string name, System.TimeSpan value ) : void
name string
value System.TimeSpan
return void

WriteProperty() public method

public WriteProperty ( string name, bool value ) : void
name string
value bool
return void

WriteProperty() public method

public WriteProperty ( string name, double value ) : void
name string
value double
return void

WriteProperty() public method

public WriteProperty ( string name, int value ) : void
name string
value int
return void

WriteProperty() public method

public WriteProperty ( string name, string value ) : void
name string
value string
return void

WritePropertyName() public method

Writes the specified property name enclosed in double quotation marks followed by a colon.
When this method is called multiple times, the second call after WriteStartObject and all subsequent calls will write a coma before the name.
public WritePropertyName ( string name ) : void
name string
return void

WriteRawValue() public method

public WriteRawValue ( object value ) : void
value object
return void

WriteStartArray() public method

public WriteStartArray ( ) : void
return void

WriteStartObject() public method

public WriteStartObject ( ) : void
return void

WriteString() protected method

protected WriteString ( string value ) : void
value string
return void