C# Класс AK.F1.Timing.Serialization.DecoratedObjectWriter

Writes objects to an underlying output stream that have been decorated with a TypeIdAttribute. This class cannot be inherited.
Наследование: DisposableBase, IObjectWriter
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
AssertGraphHasNotBeenSeen void
CreateBinaryReader System.IO.BinaryReader
CreateBinaryWriter System.IO.BinaryWriter
CreateContext GraphContext
WriteBoolean void
WriteByte void
WriteChar void
WriteComplex void
WriteDBNull void
WriteDateTime void
WriteDecimal void
WriteDescendant void
WriteDouble void
WriteEmpty void
WriteGraph void
WriteInt16 void
WriteInt32 void
WriteInt64 void
WriteInt64WithComression void
WriteObjectTypeCode void
WritePrimitive void
WriteSByte void
WriteSingle void
WriteString void
WriteTimeSpan void
WriteUInt16 void
WriteUInt32 void
WriteUInt64 void
WriteUInt64WithCompression void

Открытые методы

Метод Описание
DecoratedObjectWriter ( Stream output ) : System

Initialises a new instance of the DecoratedObjectWriter class and specifies the underlying output stream.

Write ( object graph ) : void

Защищенные методы

Метод Описание
DisposeOfManagedResources ( ) : void

Приватные методы

Метод Описание
AssertGraphHasNotBeenSeen ( object graph ) : void
CreateBinaryReader ( Stream input ) : BinaryReader

Creates a System.IO.BinaryReader suitable for reading data.

CreateBinaryWriter ( Stream output ) : BinaryWriter

Creates a System.IO.BinaryWriter suitable for writing data.

CreateContext ( object graph ) : GraphContext
WriteBoolean ( bool value ) : void
WriteByte ( byte value ) : void
WriteChar ( char value ) : void
WriteComplex ( GraphContext &context ) : void
WriteDBNull ( ) : void
WriteDateTime ( System.DateTime value ) : void
WriteDecimal ( decimal value ) : void
WriteDescendant ( object graph ) : void
WriteDouble ( double value ) : void
WriteEmpty ( ) : void
WriteGraph ( GraphContext &context ) : void
WriteInt16 ( short value ) : void
WriteInt32 ( int value ) : void
WriteInt64 ( long value ) : void
WriteInt64WithComression ( long value ) : void
WriteObjectTypeCode ( ObjectTypeCode value ) : void
WritePrimitive ( GraphContext &context ) : void
WriteSByte ( sbyte value ) : void
WriteSingle ( float value ) : void
WriteString ( string value ) : void
WriteTimeSpan ( System.TimeSpan value ) : void
WriteUInt16 ( ushort value ) : void
WriteUInt32 ( uint value ) : void
WriteUInt64 ( ulong value ) : void
WriteUInt64WithCompression ( ulong value ) : void

Описание методов

DecoratedObjectWriter() публичный Метод

Initialises a new instance of the DecoratedObjectWriter class and specifies the underlying output stream.
/// Thrown when is . ///
public DecoratedObjectWriter ( Stream output ) : System
output Stream The output stream.
Результат System

DisposeOfManagedResources() защищенный Метод

protected DisposeOfManagedResources ( ) : void
Результат void

Write() публичный Метод

public Write ( object graph ) : void
graph object
Результат void