C# Class Habanero.BO.DataStoreInMemoryXmlWriter

Writes the contents of a DataStoreInMemory to an xml stream
ファイルを表示 Open project: Chillisoft/habanero Class Usage Examples

Public Methods

Method Description
DataStoreInMemoryXmlWriter ( ) : System

Default constructor - ConformanceLevel = Auto.

DataStoreInMemoryXmlWriter ( XmlWriterSettings xmlWriterSettings ) : System

Constructor - set your own XmlWriterSettings

Write ( Stream stream, DataStoreInMemory dataStore ) : void

Writes the data store's objects to the stream.

Write ( Stream stream, IBusinessObject>.IDictionary businessObjects ) : void

Writes the dictionary of business objects (only the actual bos) to the stream

Write ( StringBuilder s, DataStoreInMemory dataStore ) : void

Writes the datastore's objects to a StringBuilder

Write ( XmlWriter writer, IBusinessObject>.IDictionary businessObjects, bool includeStartDocument = true ) : void

Writes the businessobjects to the writer.

Method Details

DataStoreInMemoryXmlWriter() public method

Default constructor - ConformanceLevel = Auto.
public DataStoreInMemoryXmlWriter ( ) : System
return System

DataStoreInMemoryXmlWriter() public method

Constructor - set your own XmlWriterSettings
public DataStoreInMemoryXmlWriter ( XmlWriterSettings xmlWriterSettings ) : System
xmlWriterSettings System.Xml.XmlWriterSettings
return System

Write() public method

Writes the data store's objects to the stream.
public Write ( Stream stream, DataStoreInMemory dataStore ) : void
stream Stream
dataStore DataStoreInMemory
return void

Write() public method

Writes the dictionary of business objects (only the actual bos) to the stream
public Write ( Stream stream, IBusinessObject>.IDictionary businessObjects ) : void
stream Stream
businessObjects IBusinessObject>.IDictionary
return void

Write() public method

Writes the datastore's objects to a StringBuilder
public Write ( StringBuilder s, DataStoreInMemory dataStore ) : void
s StringBuilder
dataStore DataStoreInMemory
return void

Write() public method

Writes the businessobjects to the writer.
public Write ( XmlWriter writer, IBusinessObject>.IDictionary businessObjects, bool includeStartDocument = true ) : void
writer System.Xml.XmlWriter
businessObjects IBusinessObject>.IDictionary
includeStartDocument bool If true, starts a new xml doc and will close the writer /// after completion. If false, will act as if the write already has a doc started /// (ie, won't add the startdoc element or close the writer). Defaults to true
return void