Releases: zzzprojects/Eval-Expression.NET
Releases · zzzprojects/Eval-Expression.NET
v4.0.64
Download the library here
- FIXED: Eval.Tokenize throws NullReferenceException if a variable starts with _ and the next character is a number #118
- FIXED: Exception when initializing Dictionary<string, object> #119
Trial unlocked until the end of December
v4.0.63
Download the library here
- UPDATED: Monthly Trial Release
- FIXED: The Enumerable.Intersect seems doesn't work for IEnumberable #117
- FIXED: Issue with short circuit operator when using implicit operator with class for
||
and &&
- FIXED:
AddMethod
when creating dynamically an extension methods without additional parameters
- ADDED:
RegisterKeyword
to let people add their own custom keyword such as:
public class Program
{
public static void Main()
{
EvalManager.DefaultContext.RegisterExtensionMethod(typeof(CustomExtensions));
EvalManager.DefaultContext.RegisterKeyword("isin", "IsIn");
var list = new List<int>() { 1, 2, 3 };
Console.WriteLine(Eval.Execute("2 isin list", new { list }));
Console.WriteLine(Eval.Execute("4 isin list", new { list }));
}
}
public static class CustomExtensions
{
public static bool IsIn<T>(this T x, List<T> list)
{
return list.Contains(x);
}
}
Fiddle: https://dotnetfiddle.net/2tu9ae
Trial unlocked until the end of December
v4.0.62
Download the library here
- ADDED: new version with dependencies to .NET6 (No change since v4.0.61)
Trial unlocked until the end of November
v4.0.61
Download the library here
- ADDED: new version with dependencies to .NET6
Trial unlocked until the end of November
v4.0.60
Download the library here
- ADDED: Option
DisableAutoReplaceDictionaryKey
to fix an issue when dictionary value uses the key and part of a string is replaced by error. See Strange return value with "_context" #115
Trial unlocked until the end of November
v4.0.58
Download the library here
- UPDATED: Monthly Trial Release
- ADDED: Option
UseSmartExecuteParameterResolution
to improve some parameter resolution when more then one parameter is passed
Trial unlocked until the end of November
v4.0.57
Download the library here
- UPDATED: Monthly Trial Release
Trial unlocked until the end of November
v4.0.56
Download the library here
- FIXED: Issue added in v4.0.55 when trying to fix a FIPS license issue.
Trial unlocked until the end of September
v4.0.55
Download the library here
- FIXED: Issue for
FIPS
license if MD5
validation is disabled and throw an error
Trial unlocked until the end of September
v4.0.54
Download the library here
- IMPROVED: When a license is added, we now always validate it even if you only use evaluation under 50 characters.
Trial unlocked until the end of September