CategoryGenerator.cs 666 B

1234567891011121314151617181920212223242526
  1. /*-------------------------------------------------------------------------
  2. * 功能描述:ElementWrapperGenerator
  3. * 作者:xulisong
  4. * 创建时间: 2019/6/24 9:03:15
  5. * 版本号:v1.0
  6. * -------------------------------------------------------------------------*/
  7. using System;
  8. using System.Collections.Generic;
  9. using System.Linq;
  10. using System.Text;
  11. using System.Threading.Tasks;
  12. namespace RevitToJBim.Common
  13. {
  14. /// <summary>
  15. /// 构件分类生成器
  16. /// </summary>
  17. public static class CategoryGenerator
  18. {
  19. public static string BuildingCategory(Enum e)
  20. {
  21. return $"{e.GetType()}.{e}";
  22. }
  23. }
  24. }