Class EnumStringMapper<T>
A class that maps strings to enum values. Uses a cache internally to speed lookups.
Inherited Members
Namespace: Cassandra.Mapping.TypeConversion
Assembly: Cassandra.dll
Syntax
public static class EnumStringMapper<T>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
MapStringToEnum(string)
Converts a string value to an enum of Type T.
Declaration
public static T MapStringToEnum(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | value |
Returns
| Type | Description |
|---|---|
| T |