QuadSpinner.Adjunct is a high-performance extension and helper library for .NET and WPF developers.
It delivers ultra-light syntax sugar, aggressive inlini
8000
ng, and thoughtfully crafted utilities to streamline your code across both logic and UI layers.
Package | NuGet | Version |
---|---|---|
QuadSpinner.Adjunct |
install-package QuadSpinner.Adjunct |
|
QuadSpinner.Adjunct.WPF |
install-package QuadSpinner.Adjunct.WPF |
Essential, fast, and elegant. The core package includes:
5.Square(); // 25
9.SquareRoot(); // 3
value.Clamp01(); // Clamp float between 0 and 1
value.Clamp(); // Clamp float between min and max, 0 and 1, by default
"abc123".OnlyDigits(); // "123"
"abc123".WithoutDigits(); // "abc"
"long text".Truncate(4); // "long"
path.IsFile(); // True if file exists
path.WithExtension(".json"); // Changes extension
path.AssignIfEmpty(defaultPath); // Fallback logic
EnumHelper.ParseEnum<Mode>("Fast");
EnumHelper.GetEnumStrings<BrushName>(); // ["Accent", "Primary", ...]
flag.Toggle(); // !flag
flag.ToByte(); // 1 or 0
byte[] copy = data.Copy(); // Fast clone
UI helpers designed for WPF developers who value clarity and performance. No bloat, no dependencies.
element.FadeIn();
element.FadeOutAndCollapse();
element.Visible();
element.Collapse();
element.Enable();
var brush = WPF.GetBrush(BrushName.Blue, BrushSet.Muted);
Disable animations globally at runtime:
QuadSpinner.Adjunct.WPF.DisableAnimations = true;
using QuadSpinner.Adjunct;
using QuadSpinner.Adjunct.WPF;
MIT — Open source, commercial-ready.
QuadSpinner — creators of Gaea, the procedural terrain engine trusted by top studios.