Ejemplo 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));
            }
Ejemplo n.º 2
0
 public GuessResult(GuessingGameResult gameResult)
 {
     Result = gameResult;
 }