C# Class HotChai.Serialization.ObjectWriter

Writes a serialized object.
Inheritance: IObjectWriter
Afficher le fichier Open project: hotchai/serialize.net Class Usage Examples

Private Properties

Свойство Type Description
PopState void
PushState void
SetState void

Méthodes publiques

Méthode Description
Flush ( ) : void

Writes any buffered data to the output.

WriteEndArray ( ) : void

Writes the end of a serialized array.

WriteEndMember ( ) : void

Writes the end of a serialized object member.

WriteEndObject ( ) : void

Writes the end of a serialized object.

WriteNullValue ( ) : void

Writes a null serialized value.

WriteStartArray ( ) : void

Writes the start of a serialized array.

WriteStartMember ( int memberKey ) : void

Writes the start of a serialized object member with the specified key.

WriteStartObject ( ) : void

Writes the start of a serialized object.

WriteValue ( bool value ) : void

Writes a Boolean serialized value.

WriteValue ( byte value ) : void

Writes an array of Byte serialized value.

WriteValue ( double value ) : void

Writes a Double serialized value.

WriteValue ( float value ) : void

Writes a Single serialized value.

WriteValue ( int value ) : void

Writes an Int32 serialized value.

WriteValue ( long value ) : void

Writes an Int64 serialized value.

WriteValue ( string value ) : void

Writes a String serialized value.

WriteValue ( uint value ) : void

Writes a UInt32 serialized value.

WriteValue ( ulong value ) : void

Writes a UInt64 serialized value.

Méthodes protégées

Méthode Description
ObjectWriter ( ) : System
WriteArrayValueSeparator ( ) : void
WriteEndArrayToken ( ) : void
WriteEndMemberToken ( ) : void
WriteEndObjectToken ( ) : void
WriteMemberSeparator ( ) : void
WritePrimitiveNullValue ( ) : void
WritePrimitiveValue ( bool value ) : void
WritePrimitiveValue ( byte value ) : void
WritePrimitiveValue ( double value ) : void
WritePrimitiveValue ( float value ) : void
WritePrimitiveValue ( int value ) : void
WritePrimitiveValue ( long value ) : void
WritePrimitiveValue ( string value ) : void
WritePrimitiveValue ( uint value ) : void
WritePrimitiveValue ( ulong value ) : void
WriteStartArrayToken ( ) : void
WriteStartMemberToken ( int memberKey ) : void
WriteStartObjectToken ( ) : void

Private Methods

Méthode Description
PopState ( ) : void
PushState ( ObjectWriterState state ) : void
SetState ( ObjectWriterState state ) : void

Method Details

Flush() public abstract méthode

Writes any buffered data to the output.
public abstract Flush ( ) : void
Résultat void

ObjectWriter() protected méthode

protected ObjectWriter ( ) : System
Résultat System

WriteArrayValueSeparator() protected méthode

protected WriteArrayValueSeparator ( ) : void
Résultat void

WriteEndArray() public méthode

Writes the end of a serialized array.
public WriteEndArray ( ) : void
Résultat void

WriteEndArrayToken() protected abstract méthode

protected abstract WriteEndArrayToken ( ) : void
Résultat void

WriteEndMember() public méthode

Writes the end of a serialized object member.
public WriteEndMember ( ) : void
Résultat void

WriteEndMemberToken() protected abstract méthode

protected abstract WriteEndMemberToken ( ) : void
Résultat void

WriteEndObject() public méthode

Writes the end of a serialized object.
public WriteEndObject ( ) : void
Résultat void

WriteEndObjectToken() protected abstract méthode

protected abstract WriteEndObjectToken ( ) : void
Résultat void

WriteMemberSeparator() protected méthode

protected WriteMemberSeparator ( ) : void
Résultat void

WriteNullValue() public méthode

Writes a null serialized value.
public WriteNullValue ( ) : void
Résultat void

WritePrimitiveNullValue() protected abstract méthode

protected abstract WritePrimitiveNullValue ( ) : void
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( bool value ) : void
value bool
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( byte value ) : void
value byte
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( double value ) : void
value double
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( float value ) : void
value float
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( int value ) : void
value int
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( long value ) : void
value long
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( string value ) : void
value string
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( uint value ) : void
value uint
Résultat void

WritePrimitiveValue() protected abstract méthode

protected abstract WritePrimitiveValue ( ulong value ) : void
value ulong
Résultat void

WriteStartArray() public méthode

Writes the start of a serialized array.
public WriteStartArray ( ) : void
Résultat void

WriteStartArrayToken() protected abstract méthode

protected abstract WriteStartArrayToken ( ) : void
Résultat void

WriteStartMember() public méthode

Writes the start of a serialized object member with the specified key.
public WriteStartMember ( int memberKey ) : void
memberKey int The key of the member.
Résultat void

WriteStartMemberToken() protected abstract méthode

protected abstract WriteStartMemberToken ( int memberKey ) : void
memberKey int
Résultat void

WriteStartObject() public méthode

Writes the start of a serialized object.
public WriteStartObject ( ) : void
Résultat void

WriteStartObjectToken() protected abstract méthode

protected abstract WriteStartObjectToken ( ) : void
Résultat void

WriteValue() public méthode

Writes a Boolean serialized value.
public WriteValue ( bool value ) : void
value bool The value.
Résultat void

WriteValue() public méthode

Writes an array of Byte serialized value.
public WriteValue ( byte value ) : void
value byte The value.
Résultat void

WriteValue() public méthode

Writes a Double serialized value.
public WriteValue ( double value ) : void
value double The value.
Résultat void

WriteValue() public méthode

Writes a Single serialized value.
public WriteValue ( float value ) : void
value float The value.
Résultat void

WriteValue() public méthode

Writes an Int32 serialized value.
public WriteValue ( int value ) : void
value int The value.
Résultat void

WriteValue() public méthode

Writes an Int64 serialized value.
public WriteValue ( long value ) : void
value long The value.
Résultat void

WriteValue() public méthode

Writes a String serialized value.
public WriteValue ( string value ) : void
value string The value.
Résultat void

WriteValue() public méthode

Writes a UInt32 serialized value.
public WriteValue ( uint value ) : void
value uint The value.
Résultat void

WriteValue() public méthode

Writes a UInt64 serialized value.
public WriteValue ( ulong value ) : void
value ulong The value.
Résultat void