// ENDSAMPLE // SAMPLE: passing-saga-state-id-through-message public void Handle(ToyOnTray toyReady, HappyMealOrderState state) { state.ToyReady = true; if (state.IsOrderComplete()) { MarkCompleted(); } }
// ENDSAMPLE // SAMPLE: passing-saga-state-id-through-message public void Handle(ToyOnTray toyReady) { State.ToyReady = true; if (State.IsOrderComplete()) { MarkCompleted(); } }