Example #1
0
        public ModulePackage[] GetPackages()
        {
            var packs = new ModulePackage[packages.Count];

            packages.Values.CopyTo(packs, 0);
            return(packs);
        }
Example #2
0
 internal static ModulePackage GetOrCreatePackage(ModulePackage root, string package, bool create = false)
 {
     return(root.GetOrCreateSubPackage(package, create));
 }
Example #3
0
 internal ModulePackage(ModulePackage parent, string name)
 {
     this.Parent = parent;
     Strings.Add(name);
     NameHash = name.GetHashCode();
 }