Пример #1
0
 public bool Stop(HostControl hostControl)
 {
     try
     {
         log.Info("TeamCityApiCloner is stopping.");
         teamcityConnectionService.Dispose();
         teamcityConnectionService = null;
     }
     catch (Exception exception)
     {
         log.Error(exception.Message);
     }
     return true;
 }
Пример #2
0
 public TeamCityApiCloner(ITeamcityConnectionService teamcityConnectionService)
 {
     this.teamcityConnectionService = teamcityConnectionService;
 }