SmartPipe.Extensions.DataAnnotations
2.2.0
See the version list below for details.
dotnet add package SmartPipe.Extensions.DataAnnotations --version 2.2.0
NuGet\Install-Package SmartPipe.Extensions.DataAnnotations -Version 2.2.0
<PackageReference Include="SmartPipe.Extensions.DataAnnotations" Version="2.2.0" />
<PackageVersion Include="SmartPipe.Extensions.DataAnnotations" Version="2.2.0" />
<PackageReference Include="SmartPipe.Extensions.DataAnnotations" />
paket add SmartPipe.Extensions.DataAnnotations --version 2.2.0
#r "nuget: SmartPipe.Extensions.DataAnnotations, 2.2.0"
#:package SmartPipe.Extensions.DataAnnotations@2.2.0
#addin nuget:?package=SmartPipe.Extensions.DataAnnotations&version=2.2.0
#tool nuget:?package=SmartPipe.Extensions.DataAnnotations&version=2.2.0
SmartPipe.Extensions.DataAnnotations
DataAnnotations validation transforms for SmartPipe.Core.
Installation
dotnet package add SmartPipe.Extensions.DataAnnotations
ValidationTransform<T> keeps the existing public namespace
SmartPipe.Extensions.Transforms and combines object/property DataAnnotations
validation with fluent Require rules. Validation follows
Validator.TryValidateObject and is deliberately non-recursive: nested object
properties are not walked.
Rules are mutable during configuration and freeze on initialization or the
first execution. Adding a rule after that point throws
InvalidOperationException. ToFilter() forwards the pipeline cancellation
token to validation and filters invalid items.
The reflection-based TransformAsync and ToFilter APIs carry
RequiresUnreferencedCode; use them only when the required DataAnnotations
metadata is preserved by the application.
| 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
- SmartPipe.Core (>= 2.2.0)
- SmartPipe.Extensions.Transforms (>= 2.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SmartPipe.Extensions.DataAnnotations:
| Package | Downloads |
|---|---|
|
SmartPipe.Extensions
Compatibility facade and convenience bundle for SmartPipe.Core and its runtime integration packages. New applications should reference specific SmartPipe.Extensions.* packages. Retained 2.1.2 APIs use type forwarding or the frozen legacy DI/Hosting/Health cluster; removed HTTP/Polly APIs require migration and recompilation. |
GitHub repositories
This package is not used by any popular GitHub repositories.
First standalone release in 2.2.0. ValidationTransform and FilterValidationExtensions move to this Core-based leaf with facade forwarding. Trimming and NativeAOT supported.