public bool Stop(HostControl hostControl) { try { log.Info("TeamCityApiCloner is stopping."); teamcityConnectionService.Dispose(); teamcityConnectionService = null; } catch (Exception exception) { log.Error(exception.Message); } return true; }
public TeamCityApiCloner(ITeamcityConnectionService teamcityConnectionService) { this.teamcityConnectionService = teamcityConnectionService; }