Releases: zzzprojects/Eval-Expression.NET
Releases · zzzprojects/Eval-Expression.NET
v2.9.1
Download the library here
- MODIFIED:
AliasLocalVariables
value can now be modified in the dictionary
context.AliasLocalVariables["A"]= 10;
Console.WriteLine(context.Execute("A*10")); // 100
context.AliasLocalVariables["A"]= 20;
Console.WriteLine(context.Execute("A*10")); // 200
Trial unlocked for the current month (December)
v2.9.0
Download the library here
- MODIFIED:
AliasGlobalVariables
can now be modified across all evaluations (really act as global variables)
- ADDED:
AliasLocalVariables
has been added and can only be modified in the current evaluation
Trial unlocked for the current month (December)
v2.8.9
Download the library here
- FIXED: Issue when calling a registered static member when the expression use an ExpandoObject as a parameter.
var result = Eval.Execute("Sqrt(150/4)", new ExpandoObject());
Trial unlocked for the current month (December)
v2.8.8
Download the library here
Trial unlocked for the current month (December)
v2.8.7
Download the library here
- ADDED: Support to dynamic + cast
(decimal)dynamicValue
Trial unlocked for the current month (November)
v2.8.6
Download the library here
- ADDED: Greatly improved
dynamic
support. Most operator now works even with type object
.
- ADDED:
ForceObjectAsDynamic
options
Trial unlocked for the current month (November)
v2.8.5
Download the library here
- ADDED:
ForceCharAsString
options.
- FIXED: Improved the logic with
dynamic
keyword with string indexer used with a char
Trial unlocked for the current month (November)
v2.8.4
Download the library here
- IMPROVED: Support for
dynamic
object when using with indexor [value]
Trial unlocked for the current month (November)
v2.8.3
Download the library here
- ADDED: Support to PostIncrement, PostDecrement, PreIncrement, PreDecrement when using a
Dictionary<string, object>
as first parameter
var variables = new Dictionary<string, object>();
variables.Add("x", 4);
variables.Add("y", 4);
var result1 = Eval.Execute("1+ x++ +1", variables);
var result2 = Eval.Execute("1+ ++x +1", variables);
var result3 = Eval.Execute("1+ y-- +1", variables);
var result4 = Eval.Execute("1+ --y +1", variables);
Trial unlocked for the current month (November)
v2.8.2
Download the library here
- ADDED: Support to
await
keyword for async method
Trial unlocked for the current month (November)