コード例 #1
0
ファイル: JSLintTask.cs プロジェクト: bjaminp/JSLint.VS2017
        /// <summary>
        /// Initializes a new instance of the <see cref="JSLintTask" /> class with custom services.
        /// </summary>
        /// <param name="jsLintFactory">The JSLint factory.</param>
        /// <param name="fileSystemWrapper">The file system wrapper.</param>
        /// <param name="taskLoggingHelperFactory">The task logging helper factory.</param>
        /// <param name="reporterFactory">The reporter factory.</param>
        public JSLintTask(IJSLintFactory jsLintFactory, IFileSystemWrapper fileSystemWrapper, ITaskLoggingHelperFactory taskLoggingHelperFactory, IReporterFactory reporterFactory)
        {
            this.jsLintFactory     = jsLintFactory;
            this.fileSystemWrapper = fileSystemWrapper;
            this.reporterFactory   = reporterFactory;

            this.LoggingHelper = taskLoggingHelperFactory.Create(this);
        }
コード例 #2
0
 public CreateUserCommandHandler(
     IIdentity identity,
     IReporterFactory reporterFactory,
     IReporterQueryRepository reporterRepository)
 {
     this.identity           = identity;
     this.reporterFactory    = reporterFactory;
     this.reporterRepository = reporterRepository;
 }
コード例 #3
0
 public ExportForm(IRepositoryFactory repositoryFactory,
                   IReporterFactory reporterFactory,
                   IMapperFactory mapperfactory)
 {
     this.repositoryFactory = repositoryFactory;
     this.reporterFactory   = reporterFactory;
     this.mapperfactory     = mapperfactory;
     InitializeComponent();
 }
コード例 #4
0
ファイル: StrykerRunner.cs プロジェクト: wiciok/stryker-net
 public StrykerRunner(IProjectOrchestrator projectOrchestrator = null, IEnumerable <IMutationTestProcess> mutationTestProcesses = null, IReporterFactory reporterFactory = null)
 {
     _projectOrchestrator   = projectOrchestrator ?? new ProjectOrchestrator();
     _mutationTestProcesses = mutationTestProcesses ?? new List <IMutationTestProcess>();
     _reporterFactory       = reporterFactory ?? new ReporterFactory();
 }
コード例 #5
0
 public StrykerRunner(IEnumerable <IMutationTestProcess> mutationTestProcesses = null,
                      IReporterFactory reporterFactory = null)
 {
     _mutationTestProcesses = mutationTestProcesses ?? new List <IMutationTestProcess>();
     _reporterFactory       = reporterFactory ?? new ReporterFactory();
 }