Метод | Описание | |
---|---|---|
Close ( ) : void |
Closes this stream and the underlying stream.
|
|
DsonWriter ( |
Initializes a new instance of the DsonWriter class.
|
|
Flush ( ) : void |
Flushes whatever is in the buffer to the underlying streams and also flushes the underlying stream.
|
|
WriteComment ( string text ) : void |
Writes out a comment
|
|
WriteNull ( ) : void |
Writes a null value.
|
|
WritePropertyName ( string name ) : void |
Writes the property name of a name/value pair on a Json object.
|
|
WriteRaw ( string json ) : void |
Writes raw JSON.
|
|
WriteRawValue ( string json ) : void |
Writes raw JSON where a value is expected and updates the writer's state.
|
|
WriteStartArray ( ) : void |
Writes the beginning of a Json array.
|
|
WriteStartConstructor ( string name ) : void |
Writes the start of a constructor with the given name.
|
|
WriteStartObject ( ) : void |
Writes the beginning of a Json object.
|
|
WriteUndefined ( ) : void |
Writes an undefined value.
|
|
WriteValue ( System.DateTime value ) : void |
Writes a DateTime value.
|
|
WriteValue ( DateTimeOffset value ) : void |
Writes a DateTimeOffset value.
|
|
WriteValue ( System.Guid value ) : void |
Writes a Guid value.
|
|
WriteValue ( System.TimeSpan value ) : void |
Writes a TimeSpan value.
|
|
WriteValue ( |
Writes a Uri value.
|
|
WriteValue ( bool value ) : void |
Writes a Boolean value.
|
|
WriteValue ( byte value ) : void |
Writes a Byte value.
|
|
WriteValue ( char value ) : void |
Writes a Char value.
|
|
WriteValue ( decimal value ) : void |
Writes a Decimal value.
|
|
WriteValue ( double value ) : void |
Writes a Double value.
|
|
WriteValue ( float value ) : void |
Writes a Single value.
|
|
WriteValue ( int value ) : void |
Writes a Int32 value.
|
|
WriteValue ( long value ) : void |
Writes a Int64 value.
|
|
WriteValue ( short value ) : void |
Writes a Int16 value.
|
|
WriteValue ( string value ) : void |
Writes a String value.
|
Метод | Описание | |
---|---|---|
WriteEnd ( JsonToken token ) : void |
Writes the specified end token.
|
|
WriteIndent ( ) : void |
Writes indent characters.
|
|
WriteValueDelimiter ( ) : void |
Writes the DSON value delimiter.
|
Метод | Описание | |
---|---|---|
EnsureSpace ( ) : void | ||
WriteInternal ( string s ) : void | ||
WriteValue ( sbyte value ) : void | ||
WriteValue ( uint value ) : void | ||
WriteValue ( ulong value ) : void | ||
WriteValue ( ushort value ) : void |
public DsonWriter ( |
||
textWriter | The textWriter. | |
Результат | System |
public WriteComment ( string text ) : void | ||
text | string | Text to place inside the comment. |
Результат | void |
protected WriteEnd ( JsonToken token ) : void | ||
token | JsonToken | The end token to write. |
Результат | void |
public WritePropertyName ( string name ) : void | ||
name | string | The name of the property. |
Результат | void |
public WriteRaw ( string json ) : void | ||
json | string | The raw JSON to write. |
Результат | void |
public WriteRawValue ( string json ) : void | ||
json | string | The raw JSON to write. |
Результат | void |
public WriteStartConstructor ( string name ) : void | ||
name | string | The name of the constructor. |
Результат | void |
public WriteValue ( System.DateTime value ) : void | ||
value | System.DateTime | The |
Результат | void |
public WriteValue ( DateTimeOffset value ) : void | ||
value | DateTimeOffset | The |
Результат | void |
public WriteValue ( System.Guid value ) : void | ||
value | System.Guid | The |
Результат | void |
public WriteValue ( System.TimeSpan value ) : void | ||
value | System.TimeSpan | The |
Результат | void |
public WriteValue ( |
||
value | The |
|
Результат | void |
public WriteValue ( bool value ) : void | ||
value | bool | The |
Результат | void |
public WriteValue ( byte value ) : void | ||
value | byte | The |
Результат | void |
public WriteValue ( char value ) : void | ||
value | char | The |
Результат | void |
public WriteValue ( decimal value ) : void | ||
value | decimal | The |
Результат | void |
public WriteValue ( double value ) : void | ||
value | double | The |
Результат | void |
public WriteValue ( float value ) : void | ||
value | float | The |
Результат | void |
public WriteValue ( int value ) : void | ||
value | int | The |
Результат | void |
public WriteValue ( long value ) : void | ||
value | long | The |
Результат | void |
public WriteValue ( short value ) : void | ||
value | short | The |
Результат | void |
public WriteValue ( string value ) : void | ||
value | string | The |
Результат | void |