pauldeen79.ExpressionFramework.Parser
0.7.10
See the version list below for details.
dotnet add package pauldeen79.ExpressionFramework.Parser --version 0.7.10
NuGet\Install-Package pauldeen79.ExpressionFramework.Parser -Version 0.7.10
<PackageReference Include="pauldeen79.ExpressionFramework.Parser" Version="0.7.10" />
paket add pauldeen79.ExpressionFramework.Parser --version 0.7.10
#r "nuget: pauldeen79.ExpressionFramework.Parser, 0.7.10"
// Install pauldeen79.ExpressionFramework.Parser as a Cake Addin #addin nuget:?package=pauldeen79.ExpressionFramework.Parser&version=0.7.10 // Install pauldeen79.ExpressionFramework.Parser as a Cake Tool #tool nuget:?package=pauldeen79.ExpressionFramework.Parser&version=0.7.10
ExpressionFramework
Evaluates dynamic expressions at run-time without reflection or dynamic code compilation. This allows you to validate data at a specific level. (code injection safe)
Example:
var expression = new FieldExpression("Name");
var context = new { Name = "Hello world!" };
var result = expression.Evaluate(context).Value;
// generates: Hello world!
We also support evaluating expression string, like this:
var parser = _scope.ServiceProvider.GetRequiredService<IExpressionStringParser>();
var result = parser.Parse("=LEFT(\"Hello world!\", 5)", CultureInfo.InvariantCulture);
// generates: Hello
See unit tests for more examples.
Code generation
I am currently storing generated files in the code repository. To re-generate, simply run the CodeGneration project from either Visual Studio (hit F5) or a command prompt. This will replace almost all generated code.
There are some files (evaluatables, expressions, operators and aggregators) being generated for the first time only. This is known as code scaffolding, which happens when you add a new evaluatable, expression, operator or aggregator type.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- pauldeen79.CrossCutting.Utilities.Parsers (>= 5.3.3)
- pauldeen79.ExpressionFramework.Domain (>= 0.7.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.9.1 | 86 | 11/20/2024 |
0.9.0 | 108 | 11/17/2024 |
0.8.0 | 80 | 11/3/2024 |
0.7.12 | 81 | 10/30/2024 |
0.7.11 | 106 | 10/18/2024 |
0.7.10 | 95 | 10/18/2024 |
0.7.9 | 96 | 9/21/2024 |
0.7.8 | 95 | 9/21/2024 |
0.7.7 | 143 | 9/11/2024 |
0.7.6 | 87 | 9/8/2024 |
0.7.5 | 209 | 5/9/2024 |
0.7.4 | 77 | 5/3/2024 |
0.7.3 | 73 | 5/3/2024 |
0.7.2 | 64 | 5/2/2024 |
0.7.1 | 138 | 4/17/2024 |