Esempio n. 1
0
            public Terminator <Reduction> Invoke(Reduction reduction, int value)
            {
                var result = new GuessingGameResult();

                result.Guess  = value;
                result.Result = GetResult(value);

                lastGuess = result;

                return(next.Invoke(reduction, result));
            }
Esempio n. 2
0
 public GuessResult(GuessingGameResult gameResult)
 {
     Result = gameResult;
 }