public CorrespondenceFact CreateFact(FactMemento memento) { AttendeeInactive newFact = new AttendeeInactive(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { newFact._unique = (Guid)_fieldSerializerByType[typeof(Guid)].ReadData(output); } } return newFact; }
// Fields // Results // Business constructor public AttendeeActive( AttendeeInactive attendeeInactive ) { InitializeResults(); _attendeeInactive = new PredecessorObj<AttendeeInactive>(this, GetRoleAttendeeInactive(), attendeeInactive); }