public void Test() { const string jsonPath = "..\\..\\..\\..\\quan.java\\quan-config\\json"; const string namespacePrefix = "Test.Config"; var assemblyName = Assembly.GetExecutingAssembly().FullName; var configLoader = new ConfigLoader { JsonPath = jsonPath, NamespacePrefix = namespacePrefix, ConfigAssemblies = { assemblyName } }; configLoader.Load(); foreach (var config in ItemConfig.GetIdAll().Values) { Console.WriteLine(config); } EquipConfig.GetByPosition(1); QuestConfig.Get(1); }