public TeamCityTestSuiteBlock([NotNull] IFlowServiceMessageProcessor target, [NotNull] IDisposable disposableHandler) : base(target, disposableHandler)
 {
     myFlows = new TeamCityFlowWriter <ITeamCityTestsSubWriter>(
         target,
         (handler, writer) => new TeamCityTestSuiteBlock(writer, handler),
         DisposableNOP.Instance);
 }
Exemple #2
0
 public TeamCityTestSuiteBlock([NotNull] IFlowServiceMessageProcessor target, [NotNull] IDisposable disposableHandler)
     : base(target, disposableHandler)
 {
     if (target == null)
     {
         throw new ArgumentNullException(nameof(target));
     }
     if (disposableHandler == null)
     {
         throw new ArgumentNullException(nameof(disposableHandler));
     }
     _flows = new TeamCityFlowWriter <ITeamCityTestsSubWriter>(
         target,
         (handler, writer) => new TeamCityTestSuiteBlock(writer, handler),
         DisposableDelegate.Empty);
 }