ConfigComponent.cs 314 B

12345678910111213
  1. using System;
  2. using System.Collections.Generic;
  3. namespace ETModel
  4. {
  5. /// <summary>
  6. /// Config组件会扫描所有的有ConfigAttribute标签的配置,加载进来
  7. /// </summary>
  8. public class ConfigComponent: Component
  9. {
  10. public Dictionary<Type, ACategory> AllConfig = new Dictionary<Type, ACategory>();
  11. }
  12. }