Skip to main content

Practical generic programming for C#

Total Downloads
16.4K
16,446
Published
Jan 1, 1900
128y ago

Get Started

dotnet add package PolyType.Examples --version 0.65.1
ProductVersions
.NET
net8.0
.NET Standard
netstandard2.0

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 ConfigurationBinder like 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.

Downloads by Version

Similar & Alternative Packages

Hand-picked matching NuGet libraries based on tags & ecosystem

Depended On By

Find packages that declare this package as a dependency. NuGet does not provide a reverse-dependency endpoint, so candidates are checked on demand.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.This version is unlisted. Prefer a listed release unless you deliberately need this exact version for reproducibility.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.