PolyType.Examples
v1.4.1-unstablePre-release
net8.0net9.0net10.0.NETStandard2.0
Practical generic programming for C#
Published
Jul 17, 2026
3mo ago
Total Downloads
16.4K
16,446
Install
dotnet add package PolyType.Examples --version 1.4.1-unstable
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard |
README
PolyType.Examples
Includes a set of reference library implementations built on top of the PolyType abstractions. These include:
- A serializer built on top of System.Text.Json,
- A serializer built on top of System.Xml,
- A serializer built on top of System.Formats.Cbor,
- A YAML serializer built on top of YamlDotNet,
- A
ConfigurationBinderlike implementation, - A dependency injection implementation,
- A simple pretty-printer for .NET values,
- A generic random value generator based on
System.Random, - A JSON schema generator for .NET types,
- An object graph cloning function,
- A structural
IEqualityComparer<T>generator for POCOs and collections, - An object validator in the style of System.ComponentModel.DataAnnotations.
- A simple .NET object mapper.
The examples are provided for demonstrational purposes and are not intended for production use.
Changes from Previous Version
v1.3.1-unstablev1.4.1-unstable
Added Dependencies
System.Text.Json(net8.0)
System.Text.Json(net9.0)
Removed Dependencies
System.Memory(.NETStandard2.0)
System.Reflection.Emit.Lightweight(.NETStandard2.0)
System.Runtime.CompilerServices.Unsafe(.NETStandard2.0)
System.Threading.Tasks.Extensions(.NETStandard2.0)
Adoption Assessment
Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 20 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.