BigO.Types 9.0.2

dotnet add package BigO.Types --version 9.0.2
                    
NuGet\Install-Package BigO.Types -Version 9.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BigO.Types" Version="9.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="BigO.Types" Version="9.0.2" />
                    
Directory.Packages.props
<PackageReference Include="BigO.Types" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BigO.Types --version 9.0.2
                    
#r "nuget: BigO.Types, 9.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package BigO.Types@9.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BigO.Types&version=9.0.2
                    
Install as a Cake Addin
#tool nuget:?package=BigO.Types&version=9.0.2
                    
Install as a Cake Tool

BigO.Types

<p align="center"> <img src="src/BigO.Types/Resources/bigo.png" alt="BigO logo" width="140"/> </p>

Allocation-conscious types for .NET.

Features

  • DateRange – inclusive DateOnly range with helpers for contains, duration, enumeration and JSON serialization.
  • EmailAddress – validated and normalized address representation.
  • Utility bases – DisposableObject and ObservableObject for common patterns.

Install

BigO.Types relies on BigO.Validation.

.NET CLI

dotnet add package BigO.Validation

Visual Studio

  1. Right-click the project and choose Manage NuGet Packages...
  2. Search for BigO.Validation and install the latest version.

Or use the Package Manager Console:

Install-Package BigO.Validation

Usage

using BigO.Types;

// Date ranges
var range = new DateRange(new DateOnly(2025, 1, 1), new DateOnly(2025, 1, 31));
bool containsMidMonth = range.Contains(new DateOnly(2025, 1, 15));

// Email addresses
if (EmailAddress.TryParse("user@example.com", out var email))
{
    Console.WriteLine(email); // normalized
}

Build, test and pack

Run these commands from the repository root:

dotnet restore
dotnet build src/BigO.Types.sln -c Release
dotnet test src/BigO.Types.sln -c Release
dotnet pack src/BigO.Types/BigO.Types.csproj -c Release -o ./artifacts

License

Licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on BigO.Types:

Package Downloads
BigO.Domain

A toolset of selected extensions and utilities to assist with learning/development tasks revolving around domain driven design.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.2 260 10/7/2025
9.0.1 421 9/11/2025
9.0.0 239 8/15/2025