private void DeleteAllBatches_()
 {
     foreach (KeyValuePair <string, IBatchCloser> kvp in batchClosers_)
     {
         IBatchCloser connector = kvp.Value;
         connector.CloseBatch(kvp.Key);
     }
 }
Exemplo n.º 2
0
 private void DeleteAllBatches_()
 {
     if (DontCloseBatches)
     {
         return;
     }
     Logger.Log(TraceLevel.Notice, Stage.Close, StageType.CloseBatch, new { batches = batchClosers_.Keys });
     foreach (KeyValuePair <string, IBatchCloser> kvp in batchClosers_)
     {
         IBatchCloser connector = kvp.Value;
         connector.CloseBatch(kvp.Key);
     }
 }