Class NullableEnumStringMapper<T>
Static class for mapping between strings and nullable enums. Uses a cache internally to speed lookups.
Inheritance
NullableEnumStringMapper<T>
Assembly: Cassandra.dll
Syntax
public static class NullableEnumStringMapper<T>
Type Parameters
Methods
MapEnumToString(T)
Converts a nullable enum value of Type T to a string.
Declaration
public static string MapEnumToString(T enumValue)
Parameters
Type |
Name |
Description |
T |
enumValue |
|
Returns
MapStringToEnum(string)
Converts a string value to a nullable enum value of Type T.
Declaration
public static T MapStringToEnum(string value)
Parameters
Type |
Name |
Description |
string |
value |
|
Returns