Soenneker.Dtos.Filters.ExactMatch 4.0.78

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Dtos.Filters.ExactMatch --version 4.0.78
                    
NuGet\Install-Package Soenneker.Dtos.Filters.ExactMatch -Version 4.0.78
                    
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="4.0.78" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Dtos.Filters.ExactMatch" Version="4.0.78" />
                    
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 4.0.78
                    
#r "nuget: Soenneker.Dtos.Filters.ExactMatch, 4.0.78"
                    
#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@4.0.78
                    
#: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=4.0.78
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Dtos.Filters.ExactMatch&version=4.0.78
                    
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 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.

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.94 288 12/1/2026
11.0.93 56 11/30/2026
11.0.92 410 11/29/2026
11.0.91 265 11/19/2026
11.0.90 791 11/18/2026
11.0.89 231 11/18/2026
11.0.88 100 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,184 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,398 10/14/2026
4.0.79 163 10/14/2026
4.0.78 302 10/14/2026
4.0.77 232 10/14/2026
4.0.76 118 10/14/2026
4.0.75 117 10/14/2026
Loading failed

Updated Multiple NuGet packages