v2.1.6
Download the library here
FIXED: Issue with generic method without prefix
public class AnotherClass
{
public object Value { get; set; }
public T GetValue<T>()
{
return (T) Value;
}
}
EvalManager.DefaultContext.RegisterType(typeof(AnotherClass));
// WAS not compiling before
var compiled = Eval.Compile<Func<AnotherClass, string>>("GetValue<string>()");
var result = compiled(new AnotherClass() {Value = "23"});
PRO Version unlocked for the current month (July)