C# Class Habanero.BO.DataStoreInMemoryXmlWriter

Writes the contents of a DataStoreInMemory to an xml stream
Afficher le fichier Open project: Chillisoft/habanero Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Default constructor - ConformanceLevel = Auto.
public DataStoreInMemoryXmlWriter ( ) : System
Résultat System

DataStoreInMemoryXmlWriter() public méthode

Constructor - set your own XmlWriterSettings
public DataStoreInMemoryXmlWriter ( XmlWriterSettings xmlWriterSettings ) : System
xmlWriterSettings System.Xml.XmlWriterSettings
Résultat System

Write() public méthode

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

Write() public méthode

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
Résultat void

Write() public méthode

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

Write() public méthode

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
Résultat void