Exemplo n.º 1
0
 private void ProvideServerConnection(TfsBlockServices Services)
 {
     if (this.ServerConnection != null)
     {
         Services.AddService(this.ServerConnection);
     }
 }
Exemplo n.º 2
0
        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));
            }
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 4
0
 private void ProvideServerConnection(TfsBlockServices Services)
 {
     if (this.ServerConnection != null)
         Services.AddService(this.ServerConnection);
 }