Releases: zzzprojects/Eval-Expression.NET
Releases · zzzprojects/Eval-Expression.NET
v4.0.74
Download the library here
- UPDATED: Monthly Trial Release
Trial unlocked until the end of March
v4.0.73
Download the library here
- IMPROVED: the code we added to compare
DateTime
value with string added in the previous version.
Trial unlocked until the end of February
v4.0.72
Download the library here
- ADDED: Like SQL, this is now possible to compare DateTime value with string such as
x.MyDateTimeProperty >= '2021-01-01'
- ADDED:
UnregisterStaticMethod(string name)
and UnregisterExtensionMethod(string name)
method
Trial unlocked until the end of February
v4.0.71
Download the library here
- ADDED: Extension method added using
AddMethod
can now use other extension methods without having to use the variable (the call to Test111()
was not working before in previous version)
var context = new EvalContext();
context.UnregisterAll();
context.RegisterType(typeof(PlayerJournal));
context.AddMethod(@"public bool Test111(this PlayerJournal pj)
{
return true;
}");
// this method was not working before
context.AddMethod(@"public bool Test222(this PlayerJournal pj)
{
return Test111();
}");
var c1 = context.Compile<Func<PlayerJournal, bool>>("Test222()");
Trial unlocked until the end of February
v4.0.70
Download the library here
- UPDATED: Monthly Trial Release
- FIXED: Exception: The number of generic arguments provided doesn't equal the arity of the generic type definition. #121
Trial unlocked until the end of February
v4.0.69
Download the library here
- ADDED:
MaxLoopIteration
option to allow to set a limit for the maximum loop a for,
foreach,
while,
do while` statement can do before throwing an error (for security purpose)
Trial unlocked until the end of January
v4.0.68
Download the library here
- FIXED: Can not detect type #120
Trial unlocked until the end of January
v4.0.67
Download the library here
- UPDATED: Monthly Trial Release
- IMPROVED: Some code improvement from v4.0.66 to support more case with the
Compile
method
Trial unlocked until the end of January
v4.0.66
Download the library here
- ADDED: When compiling, parameters can be directly used to resolve extension methods (when not named) such as
context.AddMethod(@"public int GetLevel(this UserTest user)
{
return Level;
}");
var compiled = context.Compile<Func<UserTest, int>>("GetLevel();");
var result = compiled (user);
Trial unlocked until the end of December
v4.0.65
Download the library here
- ADDED: The
AddMethod
when using to create an extension method can now directly use members of the extended type such as:
context.AddMethod(@"public int GetLevel(this UserTest user)
{
return Level;
}");
Trial unlocked until the end of December