public CorrespondenceFact CreateFact(FactMemento memento) { CloudCentralThought newFact = new CloudCentralThought(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { } } return(newFact); }
public void WriteFactData(CorrespondenceFact obj, BinaryWriter output) { CloudCentralThought fact = (CloudCentralThought)obj; }
public CorrespondenceFact CreateFact(FactMemento memento) { CloudCentralThought newFact = new CloudCentralThought(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { } } return newFact; }