コード例 #1
0
            public CorrespondenceFact CreateFact(FactMemento memento)
            {
                Win newFact = new Win(memento);

                // Create a memory stream from the memento data.
                using (MemoryStream data = new MemoryStream(memento.Data))
                {
                    using (BinaryReader output = new BinaryReader(data))
                    {
                    }
                }

                return newFact;
            }
コード例 #2
0
 // Fields
 // Results
 // Business constructor
 public Revenue(
     Win win
     ,Turn turn
     )
 {
     InitializeResults();
     _win = new PredecessorObj<Win>(this, RoleWin, win);
     _turn = new PredecessorObj<Turn>(this, RoleTurn, turn);
 }