CodoMetis.ValueRanges
In-memory range and multirange types for .NET 10, mirroring PostgreSQL's six built-in range domains (int4range, int8range, numrange, daterange, tsrange, tstzrange). Each type is a discriminated union of five sealed variants (Finite, UnboundedStart, UnboundedEnd, EmptyRange, Infinity) with invalid states unrepresentable at compile time. Includes the full PostgreSQL interval algebra โ Contains, Overlaps, IsAdjacentTo, Intersect, Union, Except, Complement โ plus RangeSet<TRange, T> as an immutable, always-normalized multirange. All types implement IParsable<T> and IFormattable using PostgreSQL range literal syntax, and ship with System.Text.Json converters for direct use in ASP.NET Core APIs. No database dependency.
Install
dotnet add package CodoMetis.ValueRanges --version 3.1.0
Install-Package CodoMetis.ValueRanges -Version 3.1.0
<PackageReference Include="CodoMetis.ValueRanges" Version="3.1.0" />
Frameworks
Dependencies
No declared dependencies.
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
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.