Skip to content

Instantly share code, notes, and snippets.

View Bomret's full-sized avatar

Stefan Reichel Bomret

View GitHub Profile
namespace _;
public class EnumBinding<T> where T : struct, Enum
{
private const bool IgnoreCase = true;
private const bool IgnoreInt = true;
private T value;
public static bool TryParse(string value, out EnumBinding<T> result)
{