Ejemplo n.º 1
0
 public static bool?TestFlag <T>(this T value, T flag) where T : struct, Enum
 {
     return(FlagTypeExtensions.TestFlagUnchecked <T>(value, flag));
 }
Ejemplo n.º 2
0
 public static bool?TestFlag(this sbyte value, sbyte flag)
 {
     return(FlagTypeExtensions.TestFlagUnchecked <sbyte>(value, flag));
 }
Ejemplo n.º 3
0
 public static bool HasFlag(this uint value, uint flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <uint>(value, flag));
 }
Ejemplo n.º 4
0
 public static bool HasFlag(this ulong value, ulong flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <ulong>(value, flag));
 }
Ejemplo n.º 5
0
 public static bool HasFlag(this short value, short flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <short>(value, flag));
 }
Ejemplo n.º 6
0
 public static bool HasFlag(this byte value, byte flag)
 {
     return(FlagTypeExtensions.HasFlagUnchecked <byte>(value, flag));
 }
Ejemplo n.º 7
0
 public static bool?TestFlag(this long value, long flag)
 {
     return(FlagTypeExtensions.TestFlagUnchecked <long>(value, flag));
 }
Ejemplo n.º 8
0
 public static bool?TestFlag(this int value, int flag)
 {
     return(FlagTypeExtensions.TestFlagUnchecked <int>(value, flag));
 }
Ejemplo n.º 9
0
 public static bool?TestFlag(this ushort value, ushort flag)
 {
     return(FlagTypeExtensions.TestFlagUnchecked <ushort>(value, flag));
 }