public DeployStatusConfiguration(string name, string webAppUrl, bool performEmailNotificationsCheckOnStartup, TrelloApiConfiguration trello, OctopusApiConfiguration octopus, TeamCityApiConfiguration teamCity, IDeployUserResolver deployUserResolver = null) { Name = name; WebAppUrl = webAppUrl; PerformEmailNotificationsCheckOnStartup = performEmailNotificationsCheckOnStartup; Trello = trello; Octopus = octopus; TeamCity = teamCity; DeployUserResolver = deployUserResolver ?? new SimpleDeployUserResolver(); }
public OctopusClient(OctopusApiConfiguration octopusApiConfiguration) { repository = new OctopusRepository(new OctopusServerEndpoint(octopusApiConfiguration.ServerUri, octopusApiConfiguration.ApiKey)); serverUri = new Uri(octopusApiConfiguration.ServerUri); }