Simply3DScan
EnumHelper.cs
Go to the documentation of this file.
1 using System;
2 
3 namespace SharedObjects
4 {
5  public static class EnumHelper
6  {
13  [LogException]
14  public static T ParseEnum<T>(string value)
15  {
16  return (T)Enum.Parse(typeof(T), value, true);
17  }
18  }
19 }
static T ParseEnum< T >(string value)
Parses the enum.
Definition: EnumHelper.cs:14