|
static ? string | GetName< TEnum > (TEnum value) |
|
static ? string | GetName (Type enumType, object value) |
|
static string[] | GetNames< TEnum > () |
|
static string[] | GetNames (Type enumType) |
|
static Type | GetUnderlyingType (Type enumType) |
|
static TEnum[] | GetValues< TEnum > () |
|
static Array | GetValues (Type enumType) |
|
static bool | IsDefined< TEnum > (TEnum value) |
|
static bool | IsDefined (Type enumType, object value) |
|
static object | Parse (Type enumType, string value) |
|
static object | Parse (Type enumType, ReadOnlySpan< char > value) |
|
static object | Parse (Type enumType, string value, bool ignoreCase) |
|
static object | Parse (Type enumType, ReadOnlySpan< char > value, bool ignoreCase) |
|
static TEnum | Parse< TEnum > (string value) |
|
static TEnum | Parse< TEnum > (ReadOnlySpan< char > value) |
|
static TEnum | Parse< TEnum > (string value, bool ignoreCase) |
|
static TEnum | Parse< TEnum > (ReadOnlySpan< char > value, bool ignoreCase) |
|
static bool | TryParse (Type enumType, string? value, out object? result) |
|
static bool | TryParse (Type enumType, ReadOnlySpan< char > value, out object? result) |
|
static bool | TryParse (Type enumType, string? value, bool ignoreCase, out object? result) |
|
static bool | TryParse (Type enumType, ReadOnlySpan< char > value, bool ignoreCase, out object? result) |
|
static bool | TryParse< TEnum > ([NotNullWhen(true)] string? value, out TEnum result) |
|
static bool | TryParse< TEnum > (ReadOnlySpan< char > value, out TEnum result) |
|
static bool | TryParse< TEnum > ([NotNullWhen(true)] string? value, bool ignoreCase, out TEnum result) |
|
static bool | TryParse< TEnum > (ReadOnlySpan< char > value, bool ignoreCase, out TEnum result) |
|
static object | ToObject (Type enumType, object value) |
|
static string | Format (Type enumType, object value, string format) |
|
static object | ToObject (Type enumType, sbyte value) |
|
static object | ToObject (Type enumType, short value) |
|
static object | ToObject (Type enumType, int value) |
|
static object | ToObject (Type enumType, byte value) |
|
static object | ToObject (Type enumType, ushort value) |
|
static object | ToObject (Type enumType, uint value) |
|
static object | ToObject (Type enumType, long value) |
|
static object | ToObject (Type enumType, ulong value) |
|
|
static EnumInfo | GetEnumInfo (RuntimeType enumType, bool getNames=true) |
|
static string | ValueToHexString (object value) |
|
static string | GetEnumName (EnumInfo enumInfo, ulong ulValue) |
|
static string | InternalFormat (RuntimeType enumType, ulong value) |
|
static string | InternalFlagsFormat (RuntimeType enumType, ulong result) |
|
static string | InternalFlagsFormat (EnumInfo enumInfo, ulong resultValue) |
|
static ulong | ToUInt64< TEnum > (TEnum value) |
|
static bool | TryParse (Type enumType, string value, bool ignoreCase, bool throwOnFailure, out object result) |
|
static bool | TryParse (Type enumType, ReadOnlySpan< char > value, bool ignoreCase, bool throwOnFailure, out object result) |
|
static bool | TryParse< TEnum > (string value, bool ignoreCase, bool throwOnFailure, out TEnum result) |
|
static bool | TryParse< TEnum > (ReadOnlySpan< char > value, bool ignoreCase, bool throwOnFailure, out TEnum result) |
|
static bool | TryParseInt32Enum (RuntimeType enumType, ReadOnlySpan< char > value, int minInclusive, int maxInclusive, bool ignoreCase, bool throwOnFailure, TypeCode type, out int result) |
|
static bool | TryParseUInt32Enum (RuntimeType enumType, ReadOnlySpan< char > value, uint maxInclusive, bool ignoreCase, bool throwOnFailure, TypeCode type, out uint result) |
|
static bool | TryParseInt64Enum (RuntimeType enumType, ReadOnlySpan< char > value, bool ignoreCase, bool throwOnFailure, out long result) |
|
static bool | TryParseUInt64Enum (RuntimeType enumType, ReadOnlySpan< char > value, bool ignoreCase, bool throwOnFailure, out ulong result) |
|
static bool | TryParseRareEnum (RuntimeType enumType, ReadOnlySpan< char > value, bool ignoreCase, bool throwOnFailure, [NotNullWhen(true)] out object result) |
|
static bool | TryParseByName (RuntimeType enumType, ReadOnlySpan< char > value, bool ignoreCase, bool throwOnFailure, out ulong result) |
|
static bool | StartsNumber (char c) |
|
static object | ToObject (Type enumType, char value) |
|
static object | ToObject (Type enumType, bool value) |
|
static RuntimeType | ValidateRuntimeType (Type enumType) |
|
Definition at line 13 of file Enum.cs.