public static Type GetPackageType(string name)
 {
     if (PackageTypes.ContainsKey(name))
     {
         return(PackageTypes[name]);
     }
     return(null);
 }
 public static bool HasPackageType(string name)
 {
     return(PackageTypes.ContainsKey(name));
 }