public void AddAlready() { addAlready = true; if (nextState == null) { MainReduction.Invoke(); } }
public void ReductionState(T token) { if (nextState.StateToken as object == token as object) { nextState = nextState.nextState; if (isFirst) { if (EachReduction != null) { EachReduction.Invoke(token); } if (nextState == null && addAlready) { MainReduction.Invoke(); } } } else { nextState.ReductionState(token); } }