CodingSeb.ExpressionEvaluator 1.3.3

A Simple Math and Pseudo C# Expression Evaluator in One C# File. And from version 1.2.0 can execute small C# like scripts

There is a newer version of this package available.
See the version list below for details.
Install-Package CodingSeb.ExpressionEvaluator -Version 1.3.3
dotnet add package CodingSeb.ExpressionEvaluator --version 1.3.3
<PackageReference Include="CodingSeb.ExpressionEvaluator" Version="1.3.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodingSeb.ExpressionEvaluator --version 1.3.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Main improvements
* Support <> syntax for specify types of generics
* Support of creation initializers for collections, dictionnaries and objects

Here a few examples of what this version allow to do :

new List<string>() { "text1", "text2" }
new Dictionnary<string, int> { {"seven", 7}, {"nine", 9}}
new Dictionnary<string, int> { ["seven"]= 7, ["nine"] = 9}
new MyObject() { MyStringProperty = "A value", MyIntProperty  = 8}

Other changes
* Add ListOfType Standard function
* A reference on the current evaluator added in VariableEvaluationEventArg and FunctionEvaluationEventArg
* Small improvement of the Indexing []

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.4.11 178 6/16/2020
1.4.10 253 6/4/2020
1.4.9 5,952 3/6/2020
1.4.8 196 2/25/2020
1.4.7 215 2/12/2020
1.4.6 227 2/7/2020
1.4.5 3,915 11/25/2019
1.4.4 997 10/3/2019
1.4.3 109 10/2/2019
1.4.2 165 9/24/2019
1.4.1 347 9/18/2019
1.4.0 3,284 5/28/2019
1.3.7 316 4/10/2019
1.3.6 232 4/2/2019
1.3.5 201 3/28/2019
1.3.4 275 3/14/2019
1.3.3 197 2/15/2019
1.3.2 309 1/19/2019
1.3.1 251 1/10/2019
1.3.0 1,094 12/6/2018
1.2.2 322 10/31/2018
1.2.1 408 8/2/2018
1.2.0 526 7/31/2018
1.0.2 385 5/16/2018
1.0.1 393 5/7/2018
1.0.0 361 5/7/2018
Show less