Liberi
An exergame built for kids with CP!
Main Page
Classes
Files
File List
EnumUtils.cs
1
using
System
.Collections;
2
using
System
;
3
7
public
class
EnumUtils
8
{
13
public
static
T
ParseEnum<T>
(
string
value,
bool
caseSensitive =
false
)
14
{
15
return
(T) Enum.Parse(typeof(T), value, caseSensitive);
16
}
17
}
System
EnumUtils.ParseEnum< T >
static T ParseEnum< T >(string value, bool caseSensitive=false)
Given a string, return the enum of type T with that name. Optionally Parse the Enum with case Sensiti...
Definition:
EnumUtils.cs:13
EnumUtils
Utiliry class for Enums.
Definition:
EnumUtils.cs:7
Liberi
Assets
Scripts
Core
EnumUtils.cs
Generated by
1.8.10