1using System.Collections.Generic;
3using System.Runtime.Serialization;
19 public List<SerializationInfo>
Read(Stream serializationStream)
21 List<SerializationInfo> returnValue =
null;
22 using (var xmlReader = XmlReader.Create(serializationStream))
24 DataContractSerializer dataContractSerializer = CslaReaderWriterFactory.GetDataContractSerializer();
25 returnValue = (List<SerializationInfo>)dataContractSerializer.ReadObject(xmlReader);
This class uses DataContractSerializer and XmlReader classes to read the data from a stream
List< SerializationInfo > Read(Stream serializationStream)
Read the data from a stream and produce list of SerializationInfo objects
Represents a reader class that can be used to read the data sent across the wire in byte array format...