private void DispatchImmediately(Commit commit)
 {
     try
     {
         Logger.Info(Resources.SchedulingDispatch, commit.CommitId);
         _dispatcher.Dispatch(commit);
     }
     catch
     {
         Logger.Error(Resources.UnableToDispatch, _dispatcher.GetType(), commit.CommitId);
         throw;
     }
 }
 public SynchronousDispatchSchedulerWireup DispatchTo(IDispatchCommits instance)
 {
     Logger.Debug(Messages.DispatcherRegistered, instance.GetType());
     Container.Register(instance);
     return(this);
 }
 public AsynchronousDispatchSchedulerWireup DispatchTo(IDispatchCommits instance)
 {
     Logger.Debug(Messages.DispatcherRegistered, instance.GetType());
     this.Container.Register(instance);
     return this;
 }