Ejemplo n.º 1
0
        public static void LoadAllDatafixers()
        {
            Dictionary <Type, List <SortedDatafixerRegistryEntry> > datafixers = Registry.GetAllDatafixers();

            foreach (KeyValuePair <Type, List <SortedDatafixerRegistryEntry> > v in datafixers)
            {
                foreach (SortedDatafixerRegistryEntry v1 in v.Value)
                {
                    v1.GetType().InvokeMember("Load", BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, null, null, null);
                }
            }
        }
Ejemplo n.º 2
0
        public static void LoadAllDatafixers()
        {
            var datafixers = Registry.GetAllDatafixers();

            foreach (var v in datafixers)
            {
                foreach (var v1 in v.Value)
                {
                    v1.GetType().InvokeMember("Load", BindingFlags.Public | BindingFlags.Static | BindingFlags.InvokeMethod, null, null, null);
                }
            }
        }