public void Handle(ActionOutcomeChanged e) { if (CanHandle(e.Id)) { _model.ActionOutcomeChanged(e.ActionId, e.ActionOutcome); } }
public void When(ActionOutcomeChanged e) { Actions[e.ActionId].ChangeOutcome(e.ActionOutcome); }