Skip to content

Releases: zzzprojects/Eval-Expression.NET

v4.0.74

16 Feb 13:18
3addeba
Compare
Choose a tag to compare

Download the library here

  • UPDATED: Monthly Trial Release

Trial unlocked until the end of March

v4.0.73

09 Feb 00:43
3addeba
Compare
Choose a tag to compare

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

02 Feb 16:07
3addeba
Compare
Choose a tag to compare

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

18 Jan 16:42
3addeba
Compare
Choose a tag to compare

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

12 Jan 14:13
3addeba
Compare
Choose a tag to compare

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

30 Dec 15:46
3addeba
Compare
Choose a tag to compare

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

15 Dec 17:29
3addeba
Compare
Choose a tag to compare

Download the library here

  • FIXED: Can not detect type #120

Trial unlocked until the end of January

v4.0.67

14 Dec 18:14
3addeba
Compare
Choose a tag to compare

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

07 Dec 17:39
3addeba
Compare
Choose a tag to compare

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

30 Nov 14:20
3addeba
Compare
Choose a tag to compare

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