1using System.Collections.Generic;
3using System.Runtime.Serialization;
19 public void Write(Stream serializationStream, List<SerializationInfo> objectData)
21 using (var xmlWrtier = XmlWriter.Create(serializationStream,
new XmlWriterSettings() { CloseOutput =
false}))
23 DataContractSerializer dataContractSerializer = CslaReaderWriterFactory.GetDataContractSerializer();
24 dataContractSerializer.WriteObject(xmlWrtier, objectData);
This class uses DataContractSerializer and XmlWriter classes to write the data to a stream
void Write(Stream serializationStream, List< SerializationInfo > objectData)
Write the data to a stream
Represents a class that can be used to write a list of SerializationInfo objects into a stream,...