Пример #1
0
 void IEventHandler <RollbackTransferOutRequested> .Handle(RollbackTransferOutRequested evnt)
 {
     State  = TransferProcessState.RollbackTransferOutRequested;
     Result = new TransferProcessResult(false, evnt.ErrorInfo);
 }
Пример #2
0
 void IEventHandler <TransferProcessStarted> .Handle(TransferProcessStarted evnt)
 {
     State = TransferProcessState.Started;
 }
Пример #3
0
 void IEventHandler <TransferInRequested> .Handle(TransferInRequested evnt)
 {
     State = TransferProcessState.TransferInRequested;
 }
Пример #4
0
 void IEventHandler <TransferProcessCompleted> .Handle(TransferProcessCompleted evnt)
 {
     State  = TransferProcessState.Completed;
     Result = evnt.ProcessResult;
 }