public static T As <T>(this Consume c) where T : struct { return(System.Enum.Parse(typeof(T), c.ToString(), false)); }