ExpressionTree 1.0.2

dotnet add package ExpressionTree --version 1.0.2                
NuGet\Install-Package ExpressionTree -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ExpressionTree" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExpressionTree --version 1.0.2                
#r "nuget: ExpressionTree, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ExpressionTree as a Cake Addin
#addin nuget:?package=ExpressionTree&version=1.0.2

// Install ExpressionTree as a Cake Tool
#tool nuget:?package=ExpressionTree&version=1.0.2                

alt tag

ExpressionTree

Simple class to represent an expression tree.

NuGet Version NuGet

Help, Feedback, Contribute

If you have any issues or feedback, please file an issue here in Github. We'd love to have you help by contributing code for new features, optimization to the existing codebase, ideas for future releases, or fixes!

Overview

This project was built to provide a simple class to represent an expression tree (term-operator-term) with support for nested expressions, literals, arrays, and lists.

Deserialization from JSON

Refer to the custom serializers in the Test.NewtonsoftJson and Test.SystemTextJson projects.

New in v1.0.x

  • Initial release
  • Strong naming

Simple Example

using ExpressionTree;

Expr e = new Expr(5, OperatorEnum.GreaterThan, 1);

Nested Example

Expr e = new Expr(
	new Expr(5, OperatorEnum.GreaterThan, 1),
	OperatorEnum.And,
	new Expr("Name", OperatorEnum.In, new List<string> { "Smith", "Anderson", "Jones" })
	);

Version History

Refer to CHANGELOG.md for version history.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on ExpressionTree:

Package Downloads
DatabaseWrapper.Core

Do not install this package directly. Core classes for DatabaseWrapper packages.

LiteGraph

LiteGraph is a simple graph database abstraction with a RESTful interface, JSON data query support, and GEXF output support.

View.Serializer

View.io serializer.

LiteGraph.Sdk

SDK for LiteGraph, a simple graph database abstraction with a RESTful interface, JSON data query support, and GEXF output support.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 9,735 8/29/2023
1.0.1 7,547 7/10/2023
1.0.0.3 4,509 2/2/2023
1.0.0.2 39,619 12/31/2021
1.0.0.1 273 12/31/2021
1.0.0 281 12/31/2021

Bugfix for ToString