BlogDoFT.Libs.Extensions
10.1.0
See the version list below for details.
dotnet add package BlogDoFT.Libs.Extensions --version 10.1.0
NuGet\Install-Package BlogDoFT.Libs.Extensions -Version 10.1.0
<PackageReference Include="BlogDoFT.Libs.Extensions" Version="10.1.0" />
<PackageVersion Include="BlogDoFT.Libs.Extensions" Version="10.1.0" />
<PackageReference Include="BlogDoFT.Libs.Extensions" />
paket add BlogDoFT.Libs.Extensions --version 10.1.0
#r "nuget: BlogDoFT.Libs.Extensions, 10.1.0"
#:package BlogDoFT.Libs.Extensions@10.1.0
#addin nuget:?package=BlogDoFT.Libs.Extensions&version=10.1.0
#tool nuget:?package=BlogDoFT.Libs.Extensions&version=10.1.0
BlogDoFT.Libs.Extensions
General purpose extension methods used across BlogDoFT projects. Contains string helpers, collection helpers and small utilities that improve readability and reduce boilerplate.
Common utilities
- String helpers: null/empty checks, sanitize, safe truncation
- Collection helpers: safe AddRange, ToReadOnly, chunking helpers
Usage example
using BlogDoFT.Libs.Extensions;
string? maybe = null;
var safe = maybe.OrEmpty(); // ""
var list = new List<int> {1,2,3};
list.AddRangeSafe(null); // no-op
var chunked = list.ChunkBy(2); // [[1,2],[3]]
Notes
Import the namespace BlogDoFT.Libs.Extensions where you want the extension methods available.
Versioning
Starting with v10.0.0, this library's version numbering follows the major version of the .NET runtime it targets. For example, this version is compatible with .NET 10, so the major version is 10 — this explains the jump from the previous 1.x version series.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on BlogDoFT.Libs.Extensions:
| Package | Downloads |
|---|---|
|
BlogDoFT.Libs.DapperUtils.Postgres
Dapper implementation to Postgres. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 10.1.1 | 116 | 9/24/2026 |
| 10.1.0 | 106 | 9/14/2026 |
| 10.0.1 | 115 | 9/14/2026 |
| 10.0.0 | 121 | 9/13/2026 |
| 1.14.0 | 166 | 9/13/2026 |
| 1.13.0 | 114 | 9/13/2026 |
| 1.12.0 | 405 | 8/27/2026 |
| 1.11.0 | 124 | 8/27/2026 |
| 1.10.0 | 362 | 11/16/2025 |
| 1.9.0 | 262 | 11/5/2025 |
| 1.8.0 | 258 | 11/3/2025 |
| 1.7.0 | 266 | 11/3/2025 |
| 1.6.3 | 253 | 10/21/2025 |
| 1.5.0 | 239 | 10/8/2025 |
| 1.4.0 | 252 | 10/3/2025 |
| 1.3.0 | 217 | 8/22/2025 |
| 1.2.0 | 251 | 8/9/2025 |
| 1.1.1 | 173 | 8/2/2025 |
| 1.1.0 | 153 | 8/1/2025 |