private void ProvideServerConnection(TfsBlockServices Services) { if (this.ServerConnection != null) { Services.AddService(this.ServerConnection); } }
private void ProvideWorkSpace(TfsBlockServices Services) { if (this.ServerConnection == null) { this.ServerConnection = (TfsServerConnection)Services.GetService(typeof(TfsServerConnection)); } if (this.WorkspaceName != null) { Services.AddService(this.WorkspaceHelper.GetWorkspaceByName(this.WorkspaceName, this.ServerConnection.SourceControl)); } }
private void ProvideWorkSpace(TfsBlockServices Services) { if (this.ServerConnection == null) this.ServerConnection = (TfsServerConnection)Services.GetService(typeof(TfsServerConnection)); if (this.WorkspaceName != null) Services.AddService(this.WorkspaceHelper.GetWorkspaceByName(this.WorkspaceName, this.ServerConnection.SourceControl)); }
private void ProvideServerConnection(TfsBlockServices Services) { if (this.ServerConnection != null) Services.AddService(this.ServerConnection); }