C# Class System.Runtime.Serialization.Formatter

Inheritance: IFormatter
Datei anzeigen Open project: dotnet/corefx

Protected Properties

Property Type Description
m_idGenerator ObjectIDGenerator
m_idGenerator System.Runtime.Serialization.ObjectIDGenerator
m_objectQueue Queue
m_objectQueue System.Collections.Queue

Public Methods

Method Description
Deserialize ( Stream serializationStream ) : object
Deserialize ( System serializationStream ) : object
Serialize ( Stream serializationStream, object graph ) : void
Serialize ( System serializationStream, object graph ) : void

Protected Methods

Method Description
Formatter ( ) : System
Formatter ( ) : System.IO
GetNext ( long &objID ) : object
Schedule ( object obj ) : long
WriteArray ( object obj, string name, System memberType ) : void
WriteArray ( object obj, string name, Type memberType ) : void
WriteBoolean ( bool val, string name ) : void
WriteByte ( byte val, string name ) : void
WriteChar ( char val, string name ) : void
WriteDateTime ( DateTime val, string name ) : void
WriteDateTime ( System val, string name ) : void
WriteDecimal ( decimal val, string name ) : void
WriteDouble ( double val, string name ) : void
WriteInt16 ( short val, string name ) : void
WriteInt32 ( int val, string name ) : void
WriteInt64 ( long val, string name ) : void
WriteMember ( string memberName, object data ) : void
WriteObjectRef ( object obj, string name, System memberType ) : void
WriteObjectRef ( object obj, string name, Type memberType ) : void
WriteSingle ( float val, string name ) : void
WriteTimeSpan ( System val, string name ) : void
WriteTimeSpan ( TimeSpan val, string name ) : void
WriteValueType ( object obj, string name, System memberType ) : void
WriteValueType ( object obj, string name, Type memberType ) : void

Private Methods

Method Description
WriteSByte ( sbyte val, string name ) : void
WriteUInt16 ( ushort val, string name ) : void
WriteUInt32 ( uint val, string name ) : void
WriteUInt64 ( ulong val, string name ) : void

Method Details

Deserialize() public abstract method

public abstract Deserialize ( Stream serializationStream ) : object
serializationStream System.IO.Stream
return object

Deserialize() public abstract method

public abstract Deserialize ( System serializationStream ) : object
serializationStream System
return object

Formatter() protected method

protected Formatter ( ) : System
return System

Formatter() protected method

protected Formatter ( ) : System.IO
return System.IO

GetNext() protected method

protected GetNext ( long &objID ) : object
objID long
return object

Schedule() protected method

protected Schedule ( object obj ) : long
obj object
return long

Serialize() public abstract method

public abstract Serialize ( Stream serializationStream, object graph ) : void
serializationStream System.IO.Stream
graph object
return void

Serialize() public abstract method

public abstract Serialize ( System serializationStream, object graph ) : void
serializationStream System
graph object
return void

WriteArray() protected abstract method

protected abstract WriteArray ( object obj, string name, System memberType ) : void
obj object
name string
memberType System
return void

WriteArray() protected abstract method

protected abstract WriteArray ( object obj, string name, Type memberType ) : void
obj object
name string
memberType Type
return void

WriteBoolean() protected abstract method

protected abstract WriteBoolean ( bool val, string name ) : void
val bool
name string
return void

WriteByte() protected abstract method

protected abstract WriteByte ( byte val, string name ) : void
val byte
name string
return void

WriteChar() protected abstract method

protected abstract WriteChar ( char val, string name ) : void
val char
name string
return void

WriteDateTime() protected abstract method

protected abstract WriteDateTime ( DateTime val, string name ) : void
val DateTime
name string
return void

WriteDateTime() protected abstract method

protected abstract WriteDateTime ( System val, string name ) : void
val System
name string
return void

WriteDecimal() protected abstract method

protected abstract WriteDecimal ( decimal val, string name ) : void
val decimal
name string
return void

WriteDouble() protected abstract method

protected abstract WriteDouble ( double val, string name ) : void
val double
name string
return void

WriteInt16() protected abstract method

protected abstract WriteInt16 ( short val, string name ) : void
val short
name string
return void

WriteInt32() protected abstract method

protected abstract WriteInt32 ( int val, string name ) : void
val int
name string
return void

WriteInt64() protected abstract method

protected abstract WriteInt64 ( long val, string name ) : void
val long
name string
return void

WriteMember() protected method

protected WriteMember ( string memberName, object data ) : void
memberName string
data object
return void

WriteObjectRef() protected abstract method

protected abstract WriteObjectRef ( object obj, string name, System memberType ) : void
obj object
name string
memberType System
return void

WriteObjectRef() protected abstract method

protected abstract WriteObjectRef ( object obj, string name, Type memberType ) : void
obj object
name string
memberType Type
return void

WriteSingle() protected abstract method

protected abstract WriteSingle ( float val, string name ) : void
val float
name string
return void

WriteTimeSpan() protected abstract method

protected abstract WriteTimeSpan ( System val, string name ) : void
val System
name string
return void

WriteTimeSpan() protected abstract method

protected abstract WriteTimeSpan ( TimeSpan val, string name ) : void
val TimeSpan
name string
return void

WriteValueType() protected abstract method

protected abstract WriteValueType ( object obj, string name, System memberType ) : void
obj object
name string
memberType System
return void

WriteValueType() protected abstract method

protected abstract WriteValueType ( object obj, string name, Type memberType ) : void
obj object
name string
memberType Type
return void

Property Details

m_idGenerator protected_oe property

protected ObjectIDGenerator m_idGenerator
return ObjectIDGenerator

m_idGenerator protected_oe property

protected System.Runtime.Serialization.ObjectIDGenerator m_idGenerator
return System.Runtime.Serialization.ObjectIDGenerator

m_objectQueue protected_oe property

protected Queue m_objectQueue
return Queue

m_objectQueue protected_oe property

protected Queue,System.Collections m_objectQueue
return System.Collections.Queue