pauldeen79.ExpressionFramework.Domain
0.9.1
dotnet add package pauldeen79.ExpressionFramework.Domain --version 0.9.1
NuGet\Install-Package pauldeen79.ExpressionFramework.Domain -Version 0.9.1
<PackageReference Include="pauldeen79.ExpressionFramework.Domain" Version="0.9.1" />
paket add pauldeen79.ExpressionFramework.Domain --version 0.9.1
#r "nuget: pauldeen79.ExpressionFramework.Domain, 0.9.1"
// Install pauldeen79.ExpressionFramework.Domain as a Cake Addin #addin nuget:?package=pauldeen79.ExpressionFramework.Domain&version=0.9.1 // Install pauldeen79.ExpressionFramework.Domain as a Cake Tool #tool nuget:?package=pauldeen79.ExpressionFramework.Domain&version=0.9.1
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
- pauldeen79.CrossCutting.Common (>= 3.13.0)
- pauldeen79.CrossCutting.Utilities.Aggregators (>= 3.13.0)
- pauldeen79.CrossCutting.Utilities.Operators (>= 3.13.0)
NuGet packages (4)
Showing the top 4 NuGet packages that depend on pauldeen79.ExpressionFramework.Domain:
Package | Downloads |
---|---|
pauldeen79.QueryFramework.Abstractions
Package Description |
|
pauldeen79.ExpressionFramework.Domain.Specialized
Package Description |
|
pauldeen79.ExpressionFramework.Parser
Package Description |
|
pauldeen79.DialogFramework.Domain
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.9.1 | 56 | 11/20/2024 |
0.9.0 | 152 | 11/17/2024 |
0.8.0 | 117 | 11/3/2024 |
0.7.12 | 327 | 10/30/2024 |
0.7.11 | 318 | 10/18/2024 |
0.7.10 | 130 | 10/18/2024 |
0.7.9 | 451 | 9/21/2024 |
0.7.8 | 140 | 9/21/2024 |
0.7.7 | 460 | 9/11/2024 |
0.7.6 | 138 | 9/8/2024 |
0.7.5 | 662 | 5/9/2024 |
0.7.4 | 589 | 5/3/2024 |
0.7.3 | 345 | 5/3/2024 |
0.7.2 | 312 | 5/2/2024 |
0.7.1 | 688 | 4/17/2024 |
0.6.3 | 690 | 3/22/2024 |
0.6.2 | 496 | 3/15/2024 |
0.6.1 | 1,394 | 11/24/2023 |
0.6.0 | 985 | 11/19/2023 |
0.5.15 | 1,126 | 9/13/2023 |
0.5.14 | 391 | 9/9/2023 |
0.5.13 | 287 | 9/9/2023 |
0.5.12 | 989 | 5/28/2023 |
0.5.9 | 375 | 5/11/2023 |
0.5.8 | 994 | 5/11/2023 |
0.5.7 | 338 | 5/11/2023 |
0.5.6 | 294 | 5/11/2023 |
0.5.5 | 302 | 5/11/2023 |
0.5.4 | 1,399 | 5/9/2023 |
0.5.3 | 279 | 5/9/2023 |
0.5.2 | 294 | 5/9/2023 |
0.5.1 | 287 | 5/6/2023 |
0.4.7 | 427 | 4/12/2023 |
0.4.6 | 290 | 4/10/2023 |
0.4.5 | 269 | 4/9/2023 |
0.4.4 | 253 | 4/9/2023 |
0.4.3 | 317 | 4/7/2023 |
0.4.2 | 291 | 4/6/2023 |
0.4.1 | 504 | 12/31/2022 |
0.4.0 | 508 | 9/17/2022 |