コード例 #1
0
 private TeamCityWriterImpl([NotNull] IFlowServiceMessageProcessor processor,
                            [NotNull] TeamCityFlowWriter <ITeamCityWriter> flowWriter,
                            [NotNull] TeamCityBlockWriter <ITeamCityWriter> blockWriter,
                            [NotNull] TeamCityCompilationBlockWriter <ITeamCityWriter> compilationWriter,
                            [NotNull] TeamCityTestSuiteBlock testsWriter,
                            [NotNull] ITeamCityMessageWriter messageWriter,
                            [NotNull] ITeamCityArtifactsWriter artifactsWriter,
                            [NotNull] ITeamCityBuildStatusWriter statusWriter,
                            [NotNull] IDisposable dispose)
     : base(processor, blockWriter, compilationWriter, testsWriter, messageWriter, artifactsWriter, statusWriter, flowWriter, dispose)
 {
     myWriteCheck = new ISubWriter[] { blockWriter, compilationWriter, testsWriter, flowWriter };
 }
コード例 #2
0
 private TeamCityWriterImpl(
     [NotNull] IServiceMessageProcessor processor,
     [NotNull] TeamCityFlowWriter <ITeamCityWriter> flowWriter,
     [NotNull] TeamCityBlockWriter <ITeamCityWriter> blockWriter,
     [NotNull] TeamCityCompilationBlockWriter <ITeamCityWriter> compilationWriter,
     [NotNull] TeamCityTestSuiteBlock testsWriter,
     [NotNull] ITeamCityMessageWriter messageWriter,
     [NotNull] ITeamCityArtifactsWriter artifactsWriter,
     [NotNull] ITeamCityBuildStatusWriter statusWriter,
     [NotNull] IDisposable dispose)
     : base(processor, blockWriter, compilationWriter, testsWriter, messageWriter, artifactsWriter, statusWriter, flowWriter, dispose)
 {
     if (processor == null)
     {
         throw new ArgumentNullException(nameof(processor));
     }
     if (flowWriter == null)
     {
         throw new ArgumentNullException(nameof(flowWriter));
     }
     if (blockWriter == null)
     {
         throw new ArgumentNullException(nameof(blockWriter));
     }
     if (compilationWriter == null)
     {
         throw new ArgumentNullException(nameof(compilationWriter));
     }
     if (testsWriter == null)
     {
         throw new ArgumentNullException(nameof(testsWriter));
     }
     if (messageWriter == null)
     {
         throw new ArgumentNullException(nameof(messageWriter));
     }
     if (artifactsWriter == null)
     {
         throw new ArgumentNullException(nameof(artifactsWriter));
     }
     if (statusWriter == null)
     {
         throw new ArgumentNullException(nameof(statusWriter));
     }
     if (dispose == null)
     {
         throw new ArgumentNullException(nameof(dispose));
     }
     _writeCheck = new ISubWriter[] { blockWriter, compilationWriter, testsWriter, flowWriter };
 }