예제 #1
0
        public string GetPath()
        {
            string path = Name;
            PackageHeirarchyItem parent = Parent;

            while (parent != null)
            {
                // Don't count the root
                if (parent.Parent != null)
                {
                    path = System.IO.Path.Combine(parent.Name, path);
                }
                parent = parent.Parent;
            }

            path = System.IO.Path.Combine(".", path);

            return(path);
        }
예제 #2
0
 public PackageSourceInfo()
 {
     Root = new PackageHeirarchyItem("");
     Name = DefaultName;
 }
 public PackageSourceInfo()
 {
     Root = new PackageHeirarchyItem("");
     Name = DefaultName;
 }