void IObjectExplorer.SetConnection(string connectionString, IDbConnection connection) { var tfsDbConnection = (TfsDbConnection)connection; _connection = tfsDbConnection.Connection; var tfsTeamProjectCollection = _connection.TfsTeamProjectCollection; _versionControlServer = (VersionControlServer)tfsTeamProjectCollection.GetService(typeof(VersionControlServer)); }
public TfsDbConnection(TfsConnection connection) { Connection = connection; }
public TfsCommand(TfsConnection connection) { Contract.Requires(connection != null); this.connection = connection; }
public TfsCommand(TfsConnection connection) { Assert.IsNotNull(connection); Connection = connection; }
public TfsCommand(TfsConnection connection) { FoundationContract.Requires <ArgumentException>(connection != null); Connection = connection; }
public TfsDbConnection(TfsConnection connection) { this.connection = connection; }