PolyType (1.3.1)

Published 2026-09-09 02:35:53 +03:30 by kayer

Installation

dotnet nuget add source --name kayer --username your_username --password your_token 
dotnet add package --source kayer --version 1.3.1 PolyType

About this package

Practical generic programming for C#

PolyType

PolyType is a practical generic programming library for .NET. It facilitates the rapid development of feature-complete, high-performance libraries that interact with user-defined types. This includes serializers, structured loggers, mappers, validators, parsers, random generators, and equality comparers. Its built-in source generator ensures that any library built on top of PolyType gets Native AOT support for free.

The project is a port of the TypeShape library for F#, adapted to patterns and idioms available in C#. The name PolyType is a reference to polytypic programming, another term for generic programming.

See the project website for additional background and API documentation.

Dependencies

ID Version Target Framework
System.Memory 4.5.5 .NETFramework4.7.2
System.Reflection.Emit.Lightweight 4.7.0 .NETFramework4.7.2
System.Runtime.CompilerServices.Unsafe 6.0.0 .NETFramework4.7.2
System.Threading.Tasks.Extensions 4.5.4 .NETFramework4.7.2
System.Memory 4.5.5 .NETStandard2.0
System.Reflection.Emit.Lightweight 4.7.0 .NETStandard2.0
System.Runtime.CompilerServices.Unsafe 6.0.0 .NETStandard2.0
System.Threading.Tasks.Extensions 4.5.4 .NETStandard2.0
Details
NuGet
2026-09-09 02:35:53 +03:30
2
Eirik Tsarpalis
980 KiB
Assets (2)
Versions (1) View all
1.3.1 2026-09-09