Example #1
0
        public SonarQubeNotificationService(ISonarQubeService sonarQubeService, INotificationIndicatorViewModel model,
                                            ITimer timer, ISonarLintOutput sonarLintOutput)
        {
            this.sonarQubeService = sonarQubeService;
            this.timer            = timer;
            this.timer.Elapsed   += OnTimerElapsed;
            this.sonarLintOutput  = sonarLintOutput;

            Model = model;
        }
        public SonarQubeNotificationService(ISonarQubeService sonarQubeService, INotificationIndicatorViewModel model,
                                            ITimer timer, ILogger logger)
        {
            this.sonarQubeService = sonarQubeService;
            this.timer            = timer;
            this.timer.Elapsed   += OnTimerElapsed;
            this.logger           = logger;

            Model = model;
        }