8000 GitHub - QuadSpinner/QuadSpinner.Adjunct: A collection of Helper Methods we use internally in our applications.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

QuadSpinner/QuadSpinner.Adjunct

Repository files navigation

QuadSpinner.Adjunct

NuGet - Core
NuGet - WPF
License: MIT

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.


📦 Packages

Package NuGet Version
QuadSpinner.Adjunct install-package QuadSpinner.Adjunct NuGet
QuadSpinner.Adjunct.WPF install-package QuadSpinner.Adjunct.WPF NuGet

🔧 QuadSpinner.Adjunct (Core)

Essential, fast, and elegant. The core package includes:

✨ Math & Numerics

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

🔤 Strings

"abc123".OnlyDigits();            // "123"
"abc123".WithoutDigits();         // "abc"
"long text".Truncate(4);          // "long"

📁 Paths & Files

path.IsFile();                    // True if file exists
path.WithExtension(".json");     // Changes extension
path.AssignIfEmpty(defaultPath); // Fallback logic

⚙️ Enums

EnumHelper.ParseEnum<Mode>("Fast");
EnumHelper.GetEnumStrings<BrushName>(); // ["Accent", "Primary", ...]

🧪 Booleans

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

🧵 Arrays

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

🎨 QuadSpinner.Adjunct.WPF

UI helpers designed for WPF developers who value clarity and performance. No bloat, no dependencies.

✨ Animations

element.FadeIn();
element.FadeOutAndCollapse();

👁️ Visibility & State

element.Visible();
element.Collapse();
element.Enable();

🖌️ Brush Access

var brush = WPF.GetBrush(BrushName.Blue, BrushSet.Muted);

🛠 Feature Toggle

Disable animations globally at runtime:

QuadSpinner.Adjunct.WPF.DisableAnimations = true;

🧭 Namespace

using QuadSpinner.Adjunct;
using QuadSpinner.Adjunct.WPF;

📜 License

MIT — Open source, commercial-ready.


🧠 Created by

QuadSpinner — creators of Gaea, the procedural terrain engine trusted by top studios.

About

A collection of Helper Methods we use internally in our applications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0