Soenneker.Dtos.Filters.ExactMatch 11.0.96

Prefix Reserved
dotnet add package Soenneker.Dtos.Filters.ExactMatch --version 11.0.96
                    
NuGet\Install-Package Soenneker.Dtos.Filters.ExactMatch -Version 11.0.96
                    
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="Soenneker.Dtos.Filters.ExactMatch" Version="11.0.96" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Dtos.Filters.ExactMatch" Version="11.0.96" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Dtos.Filters.ExactMatch" />
                    
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 Soenneker.Dtos.Filters.ExactMatch --version 11.0.96
                    
#r "nuget: Soenneker.Dtos.Filters.ExactMatch, 11.0.96"
                    
#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 Soenneker.Dtos.Filters.ExactMatch@11.0.96
                    
#: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=Soenneker.Dtos.Filters.ExactMatch&version=11.0.96
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Dtos.Filters.ExactMatch&version=11.0.96
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

Soenneker.Dtos.Filters.ExactMatch

Represents a structured equality filter with a target field and JSON-compatible value.

Installation

dotnet add package Soenneker.Dtos.Filters.ExactMatch

Usage

using Soenneker.Dtos.Filters.ExactMatch;

var statusFilter = new ExactMatchFilter
{
    Field = "status",
    Value = "active"
};

var tenantFilter = new ExactMatchFilter
{
    Field = "tenantId",
    Value = 42
};

System.Text.Json serializes the properties as field and value:

{
  "field": "status",
  "value": "active"
}

Value is typed as object? so its JSON type can match the queried field. After deserializing untyped input, System.Text.Json commonly stores it as JsonElement. Convert and validate it against server-owned field metadata before building a query.

The DTO does not require a scalar at runtime, define how null equality behaves, validate field names, perform type coercion, or execute a filter. Allow-list Field, reject unsupported value shapes, and parameterize the converted value. Never concatenate either property into a query expression.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Soenneker.Dtos.Filters.ExactMatch:

Package Downloads
Soenneker.Dtos.RequestDataOptions

A flexible request options object for paging, sorting, and filtering queryable data, similar to OData-style parameters.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.96 176 12/2/2026
11.0.95 148 12/2/2026
11.0.94 683 12/1/2026
11.0.93 66 11/30/2026
11.0.92 554 11/29/2026
11.0.91 321 11/19/2026
11.0.90 809 11/18/2026
11.0.89 231 11/18/2026
11.0.88 101 11/18/2026
11.0.87 1,295 11/11/2026
11.0.86 297 11/11/2026
11.0.85 98 11/11/2026
11.0.84 2,185 10/26/2026
11.0.83 215 10/26/2026
11.0.82 187 10/26/2026
11.0.81 176 10/26/2026
4.0.80 1,399 10/14/2026
4.0.79 163 10/14/2026
4.0.78 302 10/14/2026
4.0.77 232 10/14/2026
Loading failed

Updated Multiple NuGet packages