Example #1
0
 public IssuesController(UserManager <User> userManager, IProjectsService projects,
                         IIssuesService issues, IPrioritiesService priorities,
                         ILabelsService labels, ICommentsService comments)
     : base(userManager, projects)
 {
     this.issues     = issues;
     this.priorities = priorities;
     this.labels     = labels;
     this.comments   = comments;
 }
Example #2
0
        public ConnectionHandler(ISerializer serializer, ICollectorWireFactory collectorWireFactory, IProcessStatic processStatic, IDnsStatic dnsStatic, ILabelsService labelsService, Environment environment, ISystemInfo systemInfo, IAgentHealthReporter agentHealthReporter, IEnvironment environmentVariableHelper)
        {
            _serializer                = serializer;
            _collectorWireFactory      = collectorWireFactory;
            _processStatic             = processStatic;
            _dnsStatic                 = dnsStatic;
            _labelsService             = labelsService;
            _environment               = environment;
            _systemInfo                = systemInfo;
            _agentHealthReporter       = agentHealthReporter;
            _environmentVariableHelper = environmentVariableHelper;

            _connectionInfo  = new ConnectionInfo(_configuration);
            _dataRequestWire = new NoOpCollectorWire();
        }
 public LabelsController(ILabelsService labelsService)
 {
     this.labelsService = labelsService;
 }