public RemoteDeploymentPackageAgent(IHubContext <AgentHub> agentHub, AgentsData agentsData, AgentId agentId, ILogger logger) { _agentHub = agentHub; _agentsData = agentsData; AgentId = agentId; _logger = logger; }
public override void OnApplyTemplate() { // Create an AgentCompactPanel with mock data: AgentCompactPanel acp = new AgentCompactPanel(AgentsData.GetAgentsData()); // TODO: GetAgentCompactBindingSource ContentGrid.Children.Add(acp); this.DataContext = AgentsData.GetAgentCompactBindingSource(); }
public DeploymentWorkerService( ConfigurationInstanceHolder configurationInstanceHolder, ILogger logger, IMediator mediator, AgentsData agents, TimeoutHelper timeoutHelper) { _configurationInstanceHolder = configurationInstanceHolder; _logger = logger; _mediator = mediator; _agents = agents; _timeoutHelper = timeoutHelper; _tasks = new Dictionary <DeploymentTargetId, Task>(); _cancellations = new Dictionary <DeploymentTargetId, CancellationTokenSource>(); }
public RemoteAgentService(IHubContext <AgentHub> agentHub, AgentsData agents, ILogger logger) { _agentHub = agentHub; _agents = agents; _logger = logger; }
public AgentsController(AgentsData agentsData) => _agentsData = agentsData;
public AgentStatusHandler(AgentsData agents) => _agents = agents;
public UnknownAgentHandler(AgentsData agents) => _agents = agents;