Пример #1
0
 public static bool BitwiseHasFlag(this Enum flag, byte value)
 {
     return((flag.AsByte() & value) == value);
 }