C# Класс Habanero.BO.DataStoreInMemoryXmlWriter

Writes the contents of a DataStoreInMemory to an xml stream
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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.

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

DataStoreInMemoryXmlWriter() публичный метод

Default constructor - ConformanceLevel = Auto.
public DataStoreInMemoryXmlWriter ( ) : System
Результат System

DataStoreInMemoryXmlWriter() публичный метод

Constructor - set your own XmlWriterSettings
public DataStoreInMemoryXmlWriter ( XmlWriterSettings xmlWriterSettings ) : System
xmlWriterSettings System.Xml.XmlWriterSettings
Результат System

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

Writes the data store's objects to the stream.
public Write ( Stream stream, DataStoreInMemory dataStore ) : void
stream Stream
dataStore DataStoreInMemory
Результат void

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

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
Результат void

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

Writes the datastore's objects to a StringBuilder
public Write ( StringBuilder s, DataStoreInMemory dataStore ) : void
s StringBuilder
dataStore DataStoreInMemory
Результат void

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

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
Результат void