Пример #1
0
        private TfsApis(string tfsLocation, string user, string password)
        {
            string myTfsLocation = tfsLocation.EndsWith("/") ? tfsLocation : tfsLocation + "/";

            _tfsConf             = new TfsConfiguration(new Uri(myTfsLocation), user, password);
            _tfsRestConnector    = new TfsRestConnector(_tfsConf);
            _subscriptionManager = new TfsSubscriptionManager(_tfsConf);
        }
Пример #2
0
 public TfsRestConnector(TfsConfiguration tfsConfiguration)
 {
     _tfsConfiguration = tfsConfiguration;
 }
 public TfsSubscriptionManager(TfsConfiguration tfsConnectionConf)
 {
     _tfsConnector = new TfsRestConnector(tfsConnectionConf);
 }