Exemplo n.º 1
0
        private NodeInfo AddArea(string areaPath)
        {
            NodeInfo retVal = TfsNodeStructureHelper.AddNode(this.commonStructureService, "\\" + areaPath, this.projectDetail.ProjectName, eStructureType.Area);

            if (retVal == null)
            {
                throw new Exception("We were unable to add the area '" + areaPath + "' to the project '" + this.projectDetail.ProjectName + "'!");
            }

            return(retVal);
        }
Exemplo n.º 2
0
        private NodeInfo AddIteration(string newIterationName)
        {
            NodeInfo retVal = TfsNodeStructureHelper.AddNode(this.commonStructureService, "\\" + newIterationName, this.projectDetail.ProjectName, eStructureType.Iteration);

            if (retVal == null)
            {
                throw new Exception("We were unable to add the iteration '" + newIterationName + "' to the project '" + this.projectDetail.ProjectName + "'!");
            }

            return(retVal);
        }