Soenneker.Dtos.Filters.ExactMatch
4.0.54
Prefix Reserved
dotnet add package Soenneker.Dtos.Filters.ExactMatch --version 4.0.54
NuGet\Install-Package Soenneker.Dtos.Filters.ExactMatch -Version 4.0.54
<PackageReference Include="Soenneker.Dtos.Filters.ExactMatch" Version="4.0.54" />
<PackageVersion Include="Soenneker.Dtos.Filters.ExactMatch" Version="4.0.54" />
<PackageReference Include="Soenneker.Dtos.Filters.ExactMatch" />
paket add Soenneker.Dtos.Filters.ExactMatch --version 4.0.54
#r "nuget: Soenneker.Dtos.Filters.ExactMatch, 4.0.54"
#:package Soenneker.Dtos.Filters.ExactMatch@4.0.54
#addin nuget:?package=Soenneker.Dtos.Filters.ExactMatch&version=4.0.54
#tool nuget:?package=Soenneker.Dtos.Filters.ExactMatch&version=4.0.54
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
};
Both System.Text.Json and Newtonsoft.Json serialize 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, while Newtonsoft.Json commonly uses JValue, JObject, or JArray. 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 | Versions 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. |
-
net10.0
- Soenneker.Dtos.Filters.Base (>= 4.0.45)
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 |
|---|---|---|
| 4.0.54 | 912 | 8/30/2026 |
| 4.0.53 | 273 | 8/30/2026 |
| 4.0.52 | 165 | 8/30/2026 |
| 4.0.51 | 236 | 8/29/2026 |
| 4.0.50 | 2,371 | 8/18/2026 |
| 4.0.49 | 272 | 8/18/2026 |
| 4.0.48 | 286 | 8/18/2026 |
| 4.0.47 | 2,639 | 7/28/2026 |
| 4.0.46 | 347 | 7/28/2026 |
| 4.0.45 | 160 | 7/28/2026 |
| 4.0.44 | 2,008 | 7/17/2026 |
| 4.0.43 | 417 | 7/16/2026 |
| 4.0.42 | 474 | 7/16/2026 |
| 4.0.41 | 3,529 | 6/19/2026 |
| 4.0.40 | 401 | 6/18/2026 |
| 4.0.39 | 2,998 | 6/6/2026 |
| 4.0.38 | 158 | 6/5/2026 |
| 4.0.37 | 119 | 6/4/2026 |
| 4.0.36 | 3,927 | 4/22/2026 |
| 4.0.35 | 338 | 4/22/2026 |
Update dependency Soenneker.Dtos.Filters.Base to 4.0.45 (#285)