Skip to main content
StronglyTypedPrimitives package icon

StronglyTypedPrimitives

A source generator for creating strongly-typed primitive types that makes it easy to avoid the primitive obsession anti pattern. Add a [StronglyTyped] attribute to a partial record struct to get started.

Total Downloads
3.1K
3,062
Published
Mar 17, 2025
Latest stable version

Install

.NET CLI
dotnet add package StronglyTypedPrimitives --version 1.1.0
Package Manager Console
Install-Package StronglyTypedPrimitives -Version 1.1.0
PackageReference
<PackageReference Include="StronglyTypedPrimitives" Version="1.1.0" />

Frameworks

.NETStandard2.0

Dependencies

No declared dependencies.

Adoption guide

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

NuGet marks this package as deprecated and points to Egil.StronglyTypedPrimitives as an alternative.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.