示例#1
0
        void IObjectExplorer.SetConnection(string connectionString, IDbConnection connection)
        {
            var tfsDbConnection = (TfsDbConnection)connection;

            _connection = tfsDbConnection.Connection;
            var tfsTeamProjectCollection = _connection.TfsTeamProjectCollection;

            _versionControlServer = (VersionControlServer)tfsTeamProjectCollection.GetService(typeof(VersionControlServer));
        }
示例#2
0
 public TfsDbConnection(TfsConnection connection)
 {
     Connection = connection;
 }
示例#3
0
 public TfsCommand(TfsConnection connection)
 {
     Contract.Requires(connection != null);
     this.connection = connection;
 }
示例#4
0
 public TfsCommand(TfsConnection connection)
 {
     Assert.IsNotNull(connection);
     Connection = connection;
 }
示例#5
0
        public TfsCommand(TfsConnection connection)
        {
            FoundationContract.Requires <ArgumentException>(connection != null);

            Connection = connection;
        }
 public TfsDbConnection(TfsConnection connection)
 {
     this.connection = connection;
 }