public static IDictionary GetRegistry(BuiltinEnums e) { Type t = builtins[(int)e]; Console.WriteLine("getting builtin enum " + t); FieldInfo f = t.GetField("Registry", BindingFlags.Static | BindingFlags.NonPublic); if (f != null) { Console.WriteLine("found registry"); Console.WriteLine(f.GetValue(null)); return(f.GetValue(null) as IDictionary); } return(null); }
public Expand(BuiltinEnums builtin) { BuiltinItems = builtin; }