Class EnumStringMapper<T>
A class that maps strings to enum values. Uses a cache internally to speed lookups.
Inheritance
object
EnumStringMapper<T>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 |