Ejemplo n.º 1
0
 public TurnResult With(Turn turn = null, bool?isWin = null, bool?isFail = null)
 {
     return(new TurnResult(turn ?? Turn, isWin ?? IsWin, isFail ?? IsFail));
 }
Ejemplo n.º 2
0
 public TurnResult(Turn turn, bool?isWin = null, bool?isFail = null)
 {
     Turn   = turn;
     IsWin  = isWin ?? IsWin;
     IsFail = isFail ?? IsFail;
 }