Exemple #1
0
 public void Dispose()
 {
     PreActions.Clear();
     PostActions.Clear();
     foreach (var pipeline in _pipelines)
     {
         pipeline.Dispose();
     }
 }
 public void Dispose()
 {
     PreActions.Clear();
     PostActions.Clear();
     foreach (var pipeline in _pipelines)
     {
         pipeline.Dispose();
     }
     _stopwatch.Stop();
     _context.Info($"Time elapsed: {_stopwatch.Elapsed}");
     _stopwatch = null;
 }