示例#1
0
        public void Handle(TestAggregateDidSomethingElse message)
        {
            TestSaga saga = GetSaga(message.Id);

            saga.Handle(message);
            SagaUnitOfWork.Add(saga);
            SagaUnitOfWork.Commit();
        }
示例#2
0
 public void Apply(TestAggregateDidSomethingElse e)
 {
     DidSomethingElse = true;
 }
示例#3
0
 public void Handle(TestAggregateDidSomethingElse message)
 {
     ApplyChange(message);
 }