public CorrespondenceFact CreateFact(FactMemento memento) { EnableToastNotification newFact = new EnableToastNotification(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) { EnableToastNotification fact = (EnableToastNotification)obj; }
public CorrespondenceFact CreateFact(FactMemento memento) { EnableToastNotification newFact = new EnableToastNotification(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { } } return newFact; }