使属性彼此不兼容?

时间:2021-04-18 14:04:07

Is there a simple way to make my attributes incompatible with each other? C# .net

是否有一种简单的方法使我的属性彼此不兼容?c# . net

1 个解决方案

#1


8  

No. You could combine them into a single attribute that takes a non-flag enum...

不。您可以将它们组合成一个具有非标志枚举的单个属性……

#1


8  

No. You could combine them into a single attribute that takes a non-flag enum...

不。您可以将它们组合成一个具有非标志枚举的单个属性……