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