oops!
This commit is contained in:
parent
558fcf495a
commit
6bd4e084c7
1 changed files with 2 additions and 1 deletions
|
|
@ -1137,8 +1137,9 @@ namespace Server
|
|||
|
||||
if ( s == null )
|
||||
return false;
|
||||
#if Framework_4_0
|
||||
|
||||
Type type = typeof(T);
|
||||
#if Framework_4_0
|
||||
T tempVal;
|
||||
|
||||
if( type.IsEnum && Enum.TryParse( s, true, out tempVal ) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue