AnalyzeAssembly.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. namespace ET.Analyzer
  2. {
  3. public static class AnalyzeAssembly
  4. {
  5. private const string DotNetCore = "Core";
  6. private const string DotNetModel = "Model";
  7. private const string DotNetHotfix = "Hotfix";
  8. private const string UnityCore = "Unity.Core";
  9. private const string UnityModel = "Unity.Model";
  10. private const string UnityHotfix = "Unity.Hotfix";
  11. private const string UnityModelView = "Unity.ModelView";
  12. private const string UnityHotfixView = "Unity.HotfixView";
  13. private const string UnityModelCodes = "Unity.Model.Codes";
  14. private const string UnityHotfixCodes = "Unity.Hotfix.Codes";
  15. private const string UnityModelViewCodes = "Unity.ModelView.Codes";
  16. private const string UnityHotfixViewCodes = "Unity.HotfixView.Codes";
  17. public static readonly string[] AllHotfix =
  18. {
  19. DotNetHotfix/*, UnityHotfix, UnityHotfixView,
  20. UnityHotfixCodes, UnityHotfixViewCodes*/
  21. };
  22. public static readonly string[] AllModel =
  23. {
  24. DotNetModel/*, UnityModel,
  25. UnityModelView, UnityModel, UnityModelCodes*/
  26. };
  27. public static readonly string[] AllModelHotfix =
  28. {
  29. DotNetModel, DotNetHotfix,
  30. UnityModel, UnityHotfix, UnityModelView, UnityHotfixView,
  31. UnityModelCodes, UnityModelViewCodes, UnityHotfixCodes, UnityHotfixViewCodes
  32. };
  33. public static readonly string[] All =
  34. {
  35. DotNetCore, DotNetModel, DotNetHotfix,
  36. UnityCore, UnityModel, UnityHotfix, UnityModelView, UnityHotfixView,
  37. UnityModelCodes, UnityModelViewCodes, UnityHotfixCodes, UnityHotfixViewCodes
  38. };
  39. }
  40. }