QuadSpinner.Adjunct 1.0.1

dotnet add package QuadSpinner.Adjunct --version 1.0.1
                    
NuGet\Install-Package QuadSpinner.Adjunct -Version 1.0.1
                    
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="QuadSpinner.Adjunct" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="QuadSpinner.Adjunct" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="QuadSpinner.Adjunct" />
                    
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 QuadSpinner.Adjunct --version 1.0.1
                    
#r "nuget: QuadSpinner.Adjunct, 1.0.1"
                    
#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 QuadSpinner.Adjunct@1.0.1
                    
#: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=QuadSpinner.Adjunct&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=QuadSpinner.Adjunct&version=1.0.1
                    
Install as a Cake Tool

QuadSpinner.Adjunct

QuadSpinner.Adjunct is a high-performance utility library packed with finely-tuned extension methods and helpers to augment your .NET projects with elegance, precision, and speed.
Crafted for pros. Ready for production.


πŸ”₯ Why Adjunct?

  • βœ… Aggressively inlined methods for maximum performance
  • βœ… Clean, readable syntax: value.Half() > value / 2f
  • βœ… Battle-tested sugarβ€”no bloat, no nonsense
  • βœ… Covers numbers, strings, files, enums, arrays, and more
  • βœ… Designed for utility, built for speed

πŸ“¦ Install via NuGet

dotnet add package QuadSpinner.Adjunct
install-package QuadSpinner.Adjunct

Or search QuadSpinner.Adjunct in the NuGet Package Manager UI.


🧠 Highlights

Math & Numerics

5.Square();           // 25
9.SquareRoot();       // 3
10f.Half();           // 5f
value.Clamp01();      // Clamps between 0 and 1
42.IsEven();          // true

Strings

"hello123".OnlyDigits();           // "123"
"hello123".WithoutDigits();        // "hello"
someString.Truncate(10);           // Trim string safely
lines.ToLines();                   // string[] β†’ joined by newlines

Paths & Files

path.IsFile();                     // true if file exists
path.WithExtension(\".txt\");       // change extension
path.AssignIfEmpty(defaultPath);  // fallback if path is null/invalid

Booleans

flag.Toggle();                     // !flag
flag.ToByte();                     // 1 or 0

Enums

EnumHelper.ParseEnum<Mode>(\"Fast\");
EnumHelper.ToInt(Mode.Fast);
EnumHelper.GetEnumStrings<Mode>();     // [\"Fast\", \"Slow\", ...]

Arrays

byte[] copy = data.Copy();         // Fast array clone

πŸ“ Namespace

All helpers live in:

using QuadSpinner.Adjunct;

πŸ“œ License

MIT. Use it, share it, improve it. Conquer with it.


βš”οΈ Authored by

QuadSpinner β€” creators of Gaea, and architects of terrain tech.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  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.
  • net8.0

    • No dependencies.

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
1.0.1 129 4/4/2025
1.0.0 119 4/4/2025

This is the initial release.