1using System.Collections.Generic;
3using System.Runtime.Serialization;
19 public void Write(Stream serializationStream, List<SerializationInfo> objectData)
21 using (var xmlWrtier = XmlDictionaryWriter.CreateBinaryWriter(serializationStream,
null,
null,
false))
23 DataContractSerializer dataContractSerializer = CslaReaderWriterFactory.GetDataContractSerializer();
24 dataContractSerializer.WriteObject(xmlWrtier, objectData);
This class uses DataContractSerializer and XmlDictionaryWriter 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,...