示例#1
0
 public void Handle(ActionOutcomeChanged e)
 {
     if (CanHandle(e.Id))
     {
         _model.ActionOutcomeChanged(e.ActionId, e.ActionOutcome);
     }
 }
示例#2
0
 public void When(ActionOutcomeChanged e)
 {
     Actions[e.ActionId].ChangeOutcome(e.ActionOutcome);
 }
示例#3
0
 public void When(ActionOutcomeChanged e)
 {
     Actions[e.ActionId].ChangeOutcome(e.ActionOutcome);
 }