枚举组合值运算

(ContextType.ListContext & ContextType.ListParam & ContextType.ListWarning).HasFlag(it4.ContextType) 1.添加[Flags]特性 2.用枚举的HasFlag方法

posted on 2021-06-29 17:08  郭小四  阅读(54)  评论(0编辑  收藏  举报