コード例 #1
0
        public async Task <SagaData> LookForInstanceAsync(EventSagaTerminatingMessage message)
        {
            var sagaData = await SagaPersistence.GetSagaDataAsync <EventTestSagaData>(PARTITION_KEY, message.Id.ToString());

            return(sagaData);
        }
コード例 #2
0
 public async Task HandleCommandAsync(IBus bus, EventSagaTerminatingMessage message, ILogger Log)
 {
     await this.DeleteSagaAsync();
 }