示例#1
0
 public void Dispatch(Dispatchable <TEntry, TState> dispatchable)
 {
     _dispatchAttemptCount++;
     if (_processDispatch.Get())
     {
         var dispatchId = dispatchable.Id;
         _access.WriteUsing("dispatched", dispatchable);
         _control.ConfirmDispatched(dispatchId, _confirmDispatchedResultInterest);
     }
 }
示例#2
0
 public void Dispatch(Dispatchable dispatchable) => _control?.ConfirmDispatched(dispatchable.Id, this);