Holoon.System
1.5.4
dotnet add package Holoon.System --version 1.5.4
NuGet\Install-Package Holoon.System -Version 1.5.4
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="Holoon.System" Version="1.5.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Holoon.System" Version="1.5.4" />
<PackageReference Include="Holoon.System" />
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 Holoon.System --version 1.5.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Holoon.System, 1.5.4"
#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 Holoon.System@1.5.4
#: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=Holoon.System&version=1.5.4
#tool nuget:?package=Holoon.System&version=1.5.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Holoon.System
Lightweight .NET 7 utility library providing common extension methods for System and System.Linq types.
Installation
dotnet add package Holoon.System
Extensions
System Extensions (Holoon.System)
| Method | Description |
|---|---|
NormalizeDiacritics() |
Removes surrogate and non-spacing marks, normalizes to FormC |
GetValueOrDefault() |
Dictionary lookup with optional default factory |
Flatten() |
Recursively flattens a tree structure into a flat enumerable |
SafeTake() |
Take() with a configurable upper bound (default 100) |
ToDashCase() |
Converts PascalCase to dash-case |
ToCamelCase() |
Converts PascalCase to camelCase |
UpperFirstChar() |
Capitalizes the first character of a string |
AddRange() |
AddRange for ICollection<T> (not just List<T>) |
IsHowLongAway() |
Returns the TimeSpan until the next occurrence of a given TimeOnly |
LINQ Extensions (Holoon.System.Linq)
| Method | Description |
|---|---|
LeftJoin() |
SQL-style left join for IQueryable and IEnumerable (EF Core compatible) |
SkipAndTake() |
Pagination helper combining Skip and Take with an upper bound |
MaxOrDefault() |
Max() that returns 0 instead of throwing on empty sequences |
ConcatIfNotInString() |
Appends a value to a delimited string if not already present |
Or() |
Combines two Expression<Func<T, bool>> with OrElse |
Types
OuterInner<TOuter, TInner>— Result wrapper forLeftJoin, exposing.Outerand.Innerproperties.
License
BSD-3-Clause
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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 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.
-
net7.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Holoon.System:
| Package | Downloads |
|---|---|
|
Holoon.Typewriter.Core
Code generaor: TypeScript code generation for typed consumption of APIs generated in C#. |
GitHub repositories
This package is not used by any popular GitHub repositories.