Beispiel #1
0
                public void Handle(CompleteSaga1Now message)
                {
                    Console.Out.WriteLine("Saga1 received CompleteSaga1Now for DataId:{0} and MarkAsComplete", message.DataId);
                    Context.DidSaga1EventHandlerGetInvoked = true;

                    MarkAsComplete();
                }
                public Task Handle(CompleteSaga1Now message, IMessageHandlerContext context)
                {
                    TestContext.DidSaga1EventHandlerGetInvoked = true;

                    MarkAsComplete();

                    return(Task.FromResult(0));
                }
                public Task Handle(CompleteSaga1Now message, IMessageHandlerContext context)
                {
                    Console.Out.WriteLine("Saga1 received CompleteSaga1Now for RunId:{0} and MarkAsComplete", message.DataId);
                    TestContext.DidSaga1EventHandlerGetInvoked = true;

                    MarkAsComplete();

                    return(Task.FromResult(0));
                }
                public void Handle(CompleteSaga1Now message)
                {
                    Console.Out.WriteLine("Saga1 received CompleteSaga1Now for DataId:{0} and MarkAsComplete", message.DataId);

                    MarkAsComplete();
                }