TehGM.Utilities 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package TehGM.Utilities --version 0.2.0                
NuGet\Install-Package TehGM.Utilities -Version 0.2.0                
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="TehGM.Utilities" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TehGM.Utilities --version 0.2.0                
#r "nuget: TehGM.Utilities, 0.2.0"                
#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.
// Install TehGM.Utilities as a Cake Addin
#addin nuget:?package=TehGM.Utilities&version=0.2.0

// Install TehGM.Utilities as a Cake Tool
#tool nuget:?package=TehGM.Utilities&version=0.2.0                

TehGM's C# Utility Libraries

GitHub top language GitHub GitHub Workflow Status GitHub issues

This solution contains utility libraries that I created to make features easy to re-use in multiple projects.

Work in Progress

This set of libraries is currently Work in Progress - and it might stay in this state indefinitely.
These libraries are designed primarily for personal use, so I do not guarantee that updates don't include breaking changes.
Keep this in mind if upgrading these libraries for any version before 1.0.0.

Included Libraries

This NuGet package currently contains following libraries:

  • TehGM.Utilities.UniqueIDs - includes types and methods for generating unique IDs.
  • TehGM.Utilities.Logging - includes helpers for logging.
  • TehGM.Utilities.Randomization - utilities for generating random values.
  • TehGM.Utilities.Time - time conversion and formatting utilities.
  • TehGM.Utilities.Validation - type and data validation utilities.
  • TehGM.Utilities.Threading - threading and async/await utilities.
  • TehGM.Utilities.AspNetCore - general ASP.NET Core utilities.

More libraries might be added as needed, when needed (by me)... or when I feel like it.

JSON.NET Support

Some of the libraries might have an additional package, which extends their functionality by adding JSON.NET support (such as converters).
These libraries need to be installed separately. This is because they depend on Newtonsoft.Json package, which might only pollute projects that don't make use of it

  • TehGM.Utilities.Time.JsonNet - JSON.NET support for TehGM.Utilities.Time.
  • TehGM.Utilities.UniqueIDs.JsonNet - JSON.NET support for TehGM.Utilities.UniqueIDs.

Source Repository

TehGM.Utilities is open source, with code hosted on GitHub.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.3 169 2/16/2024
0.2.2 257 3/9/2023
0.2.1 252 2/20/2023
0.2.0 292 12/17/2022
0.1.0 313 6/23/2022

- Randomization: added extension methods for System.Random.