C# Class DtaSpy.BizTalkContextWriter

Experimental context writer. Blind inverted implementation of the context reader, please refer to it for documentation and/or guidance.
Inheritance: IDisposable
Datei anzeigen Open project: niik/DtaSpy

Public Methods

Method Description
BizTalkContextWriter ( Stream stream ) : System

Initializes a new instance of the BizTalkContextWriter class.

Dispose ( ) : void
WriteContext ( BizTalkPropertyBag context ) : void
WriteContext ( IEnumerable properties ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
GetElementVariantType ( Type propertyType ) : VarEnum
WriteArray ( VarEnum elementType, Array value ) : void
WriteProperty ( BizTalkContextProperty property ) : void
WriteValue ( VarEnum valueType, object value ) : void
WriteValue ( object value ) : void

Private Methods

Method Description
WriteBoolean ( bool value ) : void
WriteDateTime ( System.DateTime value ) : void
WriteDecimal ( decimal value ) : void
WriteLengthPrefixedString ( string value ) : void

Method Details

BizTalkContextWriter() public method

Initializes a new instance of the BizTalkContextWriter class.
public BizTalkContextWriter ( Stream stream ) : System
stream Stream The stream.
return System

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetElementVariantType() protected method

protected GetElementVariantType ( Type propertyType ) : VarEnum
propertyType System.Type
return VarEnum

WriteArray() protected method

protected WriteArray ( VarEnum elementType, Array value ) : void
elementType VarEnum
value System.Array
return void

WriteContext() public method

public WriteContext ( BizTalkPropertyBag context ) : void
context BizTalkPropertyBag
return void

WriteContext() public method

public WriteContext ( IEnumerable properties ) : void
properties IEnumerable
return void

WriteProperty() protected method

protected WriteProperty ( BizTalkContextProperty property ) : void
property BizTalkContextProperty
return void

WriteValue() protected method

protected WriteValue ( VarEnum valueType, object value ) : void
valueType VarEnum
value object
return void

WriteValue() protected method

protected WriteValue ( object value ) : void
value object
return void