TcfOss.Filtering.Contracts 1.0.4

dotnet add package TcfOss.Filtering.Contracts --version 1.0.4
                    
NuGet\Install-Package TcfOss.Filtering.Contracts -Version 1.0.4
                    
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="TcfOss.Filtering.Contracts" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TcfOss.Filtering.Contracts" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="TcfOss.Filtering.Contracts" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TcfOss.Filtering.Contracts --version 1.0.4
                    
#r "nuget: TcfOss.Filtering.Contracts, 1.0.4"
                    
#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.
#:package TcfOss.Filtering.Contracts@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TcfOss.Filtering.Contracts&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=TcfOss.Filtering.Contracts&version=1.0.4
                    
Install as a Cake Tool

TcfOss.Filtering.Contracts

Wire-level contract models and constants for filtering, sorting, paging, and data results.

What this package contains

  • Request/response DTOs such as DataRequest, DynamicDataRequest, and DataResult<T>.
  • Filter model DTOs such as SimpleFilter, CompositeFilter, SetFilter, RangeFilter, and QuantifiedFilter.
  • Shared operator/type constants such as FilterOperators, LogicalOperators, and SortDirections.

Typical usage

Use these types at API boundaries (request body contracts and response contracts).

var request = new DataRequest
{
    Filter = new SimpleFilter("name", FilterOperators.Contains, "smith"),
    Sorts = [new SortComponent("name", SortDirections.Ascending)],
    Page = 1,
    PageSize = 20
};
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on TcfOss.Filtering.Contracts:

Package Downloads
TcfOss.Filtering.Linq

Dynamic LINQ query composition for filtering, sorting, paging, and dynamic field selection.

TcfOss.Filtering.Programmatic

Strongly typed filter objects and helpers for converting programmatic filters to TcfOss.Filtering.Contracts wire models.

TcfOss.Filtering.AspNetCore

ASP.NET Core middleware helpers for handling malformed filter payloads.

TcfOss.Filtering.Contracts.Newtonsoft

Newtonsoft.Json support for TcfOss.Filtering.Contracts filter polymorphism.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 106 9/15/2026
1.0.3 148 9/10/2026
1.0.2 151 9/9/2026
1.0.1 143 9/9/2026
1.0.0 152 9/7/2026