public Task DeleteAgentAsync(AgentSettings agentSettings) { return(_agentServer.DeleteAgentAsync(agentSettings.PoolId, agentSettings.AgentId)); }
public Task DeleteAgentAsync(AgentSettings agentSettings) { ArgUtil.NotNull(agentSettings, nameof(agentSettings)); return(_agentServer.DeleteAgentAsync(agentSettings.PoolId, agentSettings.AgentId)); }
public Task DeleteAgentAsync(int agentPoolId, int agentId) { return(_agentServer.DeleteAgentAsync(agentPoolId, agentId)); }
private async Task DeleteAgent(int poolId, int agentId) { await _agentServer.DeleteAgentAsync(poolId, agentId); }