Exemplo n.º 1
0
 // Token: 0x0600003D RID: 61 RVA: 0x000023D4 File Offset: 0x000005D4
 public static TTargetEnum DehumanizeTo <TTargetEnum>(this string input) where TTargetEnum : struct, IComparable, IFormattable
 {
     return((TTargetEnum)((object)EnumDehumanizeExtensions.DehumanizeToPrivate(input, typeof(TTargetEnum), OnNoMatch.ThrowsException)));
 }
Exemplo n.º 2
0
 // Token: 0x0600003E RID: 62 RVA: 0x000023EC File Offset: 0x000005EC
 public static Enum DehumanizeTo(this string input, Type targetEnum, OnNoMatch onNoMatch = OnNoMatch.ThrowsException)
 {
     return((Enum)EnumDehumanizeExtensions.DehumanizeToPrivate(input, targetEnum, onNoMatch));
 }