// Fields // Results // Business constructor public Quit( Hire hire ,Turn turn ) { InitializeResults(); _hire = new PredecessorObj<Hire>(this, RoleHire, hire); _turn = new PredecessorObj<Turn>(this, RoleTurn, turn); }
public CorrespondenceFact CreateFact(FactMemento memento) { Hire newFact = new Hire(memento); // Create a memory stream from the memento data. using (MemoryStream data = new MemoryStream(memento.Data)) { using (BinaryReader output = new BinaryReader(data)) { } } return newFact; }