Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public TfsDbConnection(TfsConnection connection)
 {
     Connection = connection;
 }
Ejemplo n.º 3
0
 public TfsCommand(TfsConnection connection)
 {
     Contract.Requires(connection != null);
     this.connection = connection;
 }
Ejemplo n.º 4
0
 public TfsCommand(TfsConnection connection)
 {
     Assert.IsNotNull(connection);
     Connection = connection;
 }
Ejemplo n.º 5
0
        public TfsCommand(TfsConnection connection)
        {
            FoundationContract.Requires <ArgumentException>(connection != null);

            Connection = connection;
        }
Ejemplo n.º 6
0
 public TfsDbConnection(TfsConnection connection)
 {
     this.connection = connection;
 }