Sufficit.Utils
1.26.507.131
dotnet add package Sufficit.Utils --version 1.26.507.131
NuGet\Install-Package Sufficit.Utils -Version 1.26.507.131
<PackageReference Include="Sufficit.Utils" Version="1.26.507.131" />
<PackageVersion Include="Sufficit.Utils" Version="1.26.507.131" />
<PackageReference Include="Sufficit.Utils" />
paket add Sufficit.Utils --version 1.26.507.131
#r "nuget: Sufficit.Utils, 1.26.507.131"
#:package Sufficit.Utils@1.26.507.131
#addin nuget:?package=Sufficit.Utils&version=1.26.507.131
#tool nuget:?package=Sufficit.Utils&version=1.26.507.131
<h1> Sufficit.Utils <a href="https://github.com/sufficit"><img src="https://avatars.githubusercontent.com/u/66928451?s=200&v=4" alt="Sufficit Logo" width="80" align="right"></a> </h1>
📖 About the Project
Sufficit.Utils is a general-purpose utility library that complements Sufficit.Base. It contains a collection of higher-level helper classes, extension methods, and specialized tools that solve common problems encountered during development.
While Sufficit.Base provides foundational interfaces and models, Sufficit.Utils offers concrete implementations and shortcuts to accelerate development tasks such as reflection, serialization, and complex data manipulation.
✨ Key Features
- Advanced extension methods for collections, strings, and objects.
- Helper classes for serialization (e.g., System.Text.Json wrappers).
- Reflection and type-manipulation utilities.
- Tools for handling common application patterns and logic.
🚀 Getting Started
This project is a class library. The recommended way to use it is by installing the NuGet package into your project.
📦 NuGet Package
Install the package via the .NET CLI or the NuGet Package Manager Console.
.NET CLI:
dotnet add package Sufficit.Utils
Package Manager Console:
Install-Package Sufficit.Utils
Note for Developers: The code samples below use 4-space indentation rather than fenced code blocks (```). This is intentional to prevent rendering issues in certain environments and ensure the raw text can be copied cleanly.
🛠️ Usage
After installing the package, you can use its extension methods and classes by importing the relevant namespaces.
Example of using a collection extension method:
using Sufficit.Utils.Extensions;
public void ProcessData()
{
IEnumerable<string> myCollection = new[] { "one", "two", null, "three", "" };
// The ForEachNotNull extension allows iterating only over non-null/non-empty items
myCollection.ForEachNotNull(item =>
{
Console.WriteLine($"Processing item: {item}");
});
// Output:
// Processing item: one
// Processing item: two
// Processing item: three
}
🤝 Contributing
Contributions are greatly appreciated. Please follow the standard fork and pull request workflow.
📄 License
Distributed under the MIT License. See LICENSE for more information.
📧 Contact
Sufficit - contato@sufficit.com.br
Project Link: https://github.com/sufficit/sufficit-utils
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.15 && < 10.0.0)
- Microsoft.Extensions.Logging (>= 9.0.15 && < 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.15 && < 10.0.0)
- Microsoft.Extensions.Options (>= 9.0.15 && < 10.0.0)
- Sufficit.Base (>= 1.26.505.1451)
- Sufficit.Json (>= 1.26.505.1457)
- System.Text.Json (>= 9.0.15 && < 10.0.0)
-
net6.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0 && < 7.0.0)
- Microsoft.Extensions.Logging (>= 6.0.1 && < 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.4 && < 7.0.0)
- Microsoft.Extensions.Options (>= 6.0.1 && < 7.0.0)
- Sufficit.Base (>= 1.26.505.1451)
- Sufficit.Json (>= 1.26.505.1457)
- System.Text.Json (>= 8.0.5 && < 9.0.0)
-
net7.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0 && < 8.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0 && < 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.1 && < 8.0.0)
- Microsoft.Extensions.Options (>= 7.0.1 && < 8.0.0)
- Sufficit.Base (>= 1.26.505.1451)
- Sufficit.Json (>= 1.26.505.1457)
- System.Text.Json (>= 8.0.5 && < 9.0.0)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.15 && < 10.0.0)
- Microsoft.Extensions.Logging (>= 9.0.15 && < 10.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.15 && < 10.0.0)
- Microsoft.Extensions.Options (>= 9.0.15 && < 10.0.0)
- Sufficit.Base (>= 1.26.505.1451)
- Sufficit.Json (>= 1.26.505.1457)
- System.Text.Json (>= 9.0.15 && < 10.0.0)
NuGet packages (11)
Showing the top 5 NuGet packages that depend on Sufficit.Utils:
| Package | Downloads |
|---|---|
|
Sufficit.Blazor
Package Description |
|
|
Sufficit.Client
EndPoints API Client |
|
|
Sufficit.Identity.Core
Package Description |
|
|
Sufficit.EFData
Package Description |
|
|
Sufficit.AsterNET
Sufficit.AsterNET |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.26.507.131 | 363 | 5/7/2026 |
| 1.26.505.1458 | 151 | 5/5/2026 |
| 1.26.504.1327 | 272 | 5/4/2026 |
| 1.26.416.417 | 556 | 4/16/2026 |
| 1.26.415.353 | 157 | 4/15/2026 |
| 1.26.408.1533 | 527 | 4/8/2026 |
| 1.26.329.2009 | 445 | 3/29/2026 |
| 1.26.327.2022 | 196 | 3/27/2026 |
| 1.26.324.223 | 752 | 3/24/2026 |
| 1.26.314.2346 | 425 | 3/14/2026 |
| 1.26.223.1825 | 1,542 | 2/23/2026 |
| 1.26.221.2215 | 274 | 2/21/2026 |
| 1.26.120.1552 | 1,660 | 1/20/2026 |
| 1.26.113.102 | 421 | 1/13/2026 |
| 1.26.108.1441 | 639 | 1/8/2026 |
| 1.26.108.1421 | 134 | 1/8/2026 |
| 1.25.1128.32 | 1,001 | 11/28/2025 |
| 1.25.1101.2348 | 398 | 11/1/2025 |
| 1.25.1101.2323 | 203 | 11/1/2025 |
| 1.25.1013.2106 | 382 | 10/13/2025 |