Releases: zzzprojects/Eval-Expression.NET
Releases · zzzprojects/Eval-Expression.NET
v2.4.0
v2.2.1
v2.2.0-beta1
Download the library here
ADDED: Support to DynamicObject
FIXED: Setter for ExpandoObject
PRO Version unlocked for the current month (September)
v2.1.15
v2.1.14
v2.1.13
Download the library here
FIXED: Support to Conditional Member Access ?.
for method added yesterday
var dates = new List<DateTime>() { DateTime.Now.AddYears(-2) };
var result = Eval.Execute("dates.All(d => d > DateTime.Now.AddYears(-3))", new { dates });
Assert.AreEqual(true, result);
PRO Version unlocked for the current month (August)
v2.1.12
Download the library here
ADDED: Support to Conditional Member Access ?.
for method
var dates = new List<DateTime>() { DateTime.Now.AddYears(-2) };
var result = Eval.Execute("dates.All(d => d > DateTime.Now.AddYears(-3))", new { dates });
Assert.AreEqual(true, result);
PRO Version unlocked for the current month (August)
v2.1.11
v2.1.10
v2.1.9
Download the library here
FIXED: Issue with iterating on type that doesn't inherit from IEnumerable directly
public class MyList
{
public ConcurrentDictionary<int, string> Names { get; set; }
}
var context = new EvalContext();
context.RegisterType(typeof(MyList));
var compiled = context.Compile<Func<MyList, string>>("var eCount = \"\"; foreach (var name in Names.Values) { eCount += name; } eCount;");
PRO Version unlocked for the current month (July)