Esempio n. 1
0
 public TestRunnerService(ILogger <TestRunnerService> logger,
                          ICommandLineService commandLineService,
                          ITestSummaryParser testSummaryParser,
                          IAutoTestRunnerClient autoTestRunnerClient,
                          ITestDetailParser testDetailParser,
                          IWindowsNotificationService windowsNotificationService)
 {
     _testDetailParser           = testDetailParser;
     _testSummaryParser          = testSummaryParser;
     _windowsNotificationService = windowsNotificationService;
     _autoTestRunnerClient       = autoTestRunnerClient;
     _commandLineService         = commandLineService;
     _logger = logger;
 }
Esempio n. 2
0
        public ProcessIcon(IServer server, ISenderService senderService, INetworkService networkService, IWindowsNotificationService windowsNotificationService, UtilityService utility)
        {
            ni = new NotifyIcon();

            ni.MouseClick += NotifyIcon_MouseClick;

            this.server                     = server;
            this.senderService              = senderService;
            this.networkService             = networkService;
            this.windowsNotificationService = windowsNotificationService;
            this.utility                    = utility;

            offIcon = new System.Drawing.Icon(Images.GreenIcon);
            onIcon  = new System.Drawing.Icon(Images.RedIcon);
        }