Пример #1
0
 public QueueBuildCommand(
     IVssConnectionFactory connectionFactory,
     ILoggerService loggerService)
 {
     this.connectionFactory = connectionFactory;
     this.loggerService     = loggerService;
 }
 public PostPublishNotificationCommand(
     IVssConnectionFactory connectionFactory,
     INotificationService notificationService)
 {
     _connectionFactory   = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory));
     _notificationService = notificationService ?? throw new ArgumentNullException(nameof(notificationService));
 }
Пример #3
0
 public QueueBuildCommand(
     IVssConnectionFactory connectionFactory,
     ILoggerService loggerService,
     INotificationService notificationService)
 {
     _connectionFactory   = connectionFactory;
     _loggerService       = loggerService;
     _notificationService = notificationService;
 }
Пример #4
0
        public PullRequestService(
            Uri serviceHookUrl,
            IVssConnectionFactory connectionFactory,
            IStatusPoliciesService statusPoliciesService,
            IConfigurationRepository configurationRepository)
        {
            _serviceHookUrl          = serviceHookUrl;
            _connectionFactory       = connectionFactory;
            _statusPoliciesService   = statusPoliciesService;
            _configurationRepository = configurationRepository;

            _statusPolicies = statusPoliciesService.GetPolicies();
        }