public static bool IsDefined <TEnum>([NotNull] string value) where TEnum : struct, IComparable, IFormattable, IConvertible => TryParse <TEnum>(value, out var parsed) && Holder <TEnum> .IsDefined(parsed);
public static TEnum[] GetValues <TEnum>() where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .GetNameValues(false).Values.ToArray();
public static bool IsDefined <TEnum>(TEnum value) where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .IsDefined(value);
public static IReadOnlyDictionary <string, TEnum> GetNameValues <TEnum>(bool ignoreCase = false) where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .GetNameValues(ignoreCase);
public static string[] GetNames <TEnum>(bool ignoreCase = false) where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .GetNameValues(ignoreCase).Keys.ToArray();
public static TEnum ClearFlag <TEnum>(this TEnum value, TEnum flag) where TEnum : struct, Enum => Holder <TEnum> .ClearFlagCallback(value, flag);
public static TEnum ClearFlag <TEnum>(this TEnum value, TEnum flag) where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .ClearFlagCallback(value, flag);
public static bool AreFlagsDefined <TEnum>(TEnum flags) where TEnum : struct, Enum => Holder <TEnum> .AreFlagsDefined(flags);
public static bool TryParse <TEnum>([NotNull] string name, bool ignoreCase, out TEnum result) where TEnum : struct, Enum => Holder <TEnum> .GetNameValues(ignoreCase).TryGetValue(name, out result) || EnumEx.TryParse(name, ignoreCase, out result);
public static bool IsDefined <TEnum>(TEnum value) where TEnum : struct, Enum => Holder <TEnum> .IsDefined(value);
public static bool IsDefined <TEnum>([NotNull] string value) where TEnum : struct, Enum => TryParse <TEnum>(value, out var parsed) && Holder <TEnum> .IsDefined(parsed);
public static TEnum[] GetValues <TEnum>() where TEnum : struct, Enum => Holder <TEnum> .GetNameValues(false).Values.ToArray();
public static string[] GetNames <TEnum>(bool ignoreCase = false) where TEnum : struct, Enum => Holder <TEnum> .GetNameValues(ignoreCase).Keys.ToArray();
public static IReadOnlyDictionary <string, TEnum> GetNameValues <TEnum>(bool ignoreCase = false) where TEnum : struct, Enum => Holder <TEnum> .GetNameValues(ignoreCase);
public static bool AreFlagsDefined <TEnum>(TEnum flags) where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .AreFlagsDefined(flags);
public static bool IsFlagUnset <TEnum>(this TEnum value, TEnum flags) where TEnum : struct, IComparable, IFormattable, IConvertible => !Holder <TEnum> .IsAnyFlagSetCallback(value, flags);
public static bool TryParse <TEnum>([NotNull] string name, bool ignoreCase, out TEnum result) where TEnum : struct, IComparable, IFormattable, IConvertible => Holder <TEnum> .GetNameValues(ignoreCase).TryGetValue(name, out result) || EnumTargetingHelpers.TryParse(name, ignoreCase, out result);
public static bool IsFlagUnset <TEnum>(this TEnum value, TEnum flags) where TEnum : struct, Enum => !Holder <TEnum> .IsAnyFlagSetCallback(value, flags);