public ModulePackage[] GetPackages() { var packs = new ModulePackage[packages.Count]; packages.Values.CopyTo(packs, 0); return(packs); }
internal static ModulePackage GetOrCreatePackage(ModulePackage root, string package, bool create = false) { return(root.GetOrCreateSubPackage(package, create)); }
internal ModulePackage(ModulePackage parent, string name) { this.Parent = parent; Strings.Add(name); NameHash = name.GetHashCode(); }