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)); }
public GuessResult(GuessingGameResult gameResult) { Result = gameResult; }