AlinSpace 6.1.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package AlinSpace --version 6.1.1                
NuGet\Install-Package AlinSpace -Version 6.1.1                
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="AlinSpace" Version="6.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AlinSpace --version 6.1.1                
#r "nuget: AlinSpace, 6.1.1"                
#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.
// Install AlinSpace as a Cake Addin
#addin nuget:?package=AlinSpace&version=6.1.1

// Install AlinSpace as a Cake Tool
#tool nuget:?package=AlinSpace&version=6.1.1                

AlinSpace

NuGet version (AlinSpace)

Common and general functionality missing from the System namespace

Try.Catch(() => MightThrow(), e => { ... });

NuGet package

Why?

Sometimes even Microsoft forgets to add some essential functionality. This library adds what I think is missing from the System namespace.

Examples

The enumerable extensions allow to call an action for each element:

var list = new List<int>() { 1, 2, 3 };
list.ForEach(x => Logger.Log(x));

The exception extensions allow to call an action for each inner exception:

try
{
    MethodThatMightThrowException();
}
catch(Exception e)
{
    e.ForEachInnerException(e => Logger.Log(e));
}
Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on AlinSpace:

Package Downloads
AlinSpace.Commands

Pure asynchronous command and manager implementation.

AlinSpace.Database.EfCore

AlinSpace EntityFramework Core abstraction layer.

AlinSpace.Docker

Package Description

AlinSpace.Linux

Package Description

AlinSpace.Jobs

A clean and simple Job Scheduler.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.2.0 523 10/28/2023
7.0.46 414 9/30/2023
7.0.45 346 9/30/2023
7.0.44 357 9/24/2023
7.0.42 349 9/17/2023
7.0.41 392 9/9/2023
7.0.40 624 9/1/2023
7.0.31 416 8/26/2023
7.0.25 382 8/19/2023
7.0.24 437 8/12/2023
7.0.23 429 8/12/2023
7.0.22 622 8/4/2023
7.0.21 744 7/29/2023
7.0.20 469 7/29/2023
7.0.19 507 7/29/2023
7.0.18 569 7/22/2023
7.0.16 497 7/22/2023
7.0.15 485 7/22/2023
7.0.13 475 7/22/2023
7.0.12 488 7/20/2023
7.0.9 594 7/13/2023
7.0.8 617 7/9/2023
7.0.7 475 7/8/2023
7.0.6 456 7/7/2023
7.0.5 562 7/5/2023
7.0.3 475 7/4/2023
7.0.2 473 6/30/2023
7.0.1 477 6/29/2023
7.0.0 521 4/18/2023
6.2.12 610 3/9/2023
6.2.11 538 3/9/2023
6.2.10 538 3/9/2023
6.2.9 577 3/4/2023
6.2.8 546 3/4/2023
6.2.7 582 2/26/2023
6.2.6 550 2/26/2023
6.2.5 520 2/26/2023
6.2.2 518 2/25/2023
6.2.1 555 2/25/2023
6.2.0 558 2/24/2023
6.1.9 558 2/24/2023
6.1.7 552 2/23/2023
6.1.6 708 2/7/2023
6.1.5 527 2/7/2023
6.1.4 629 1/22/2023
6.1.3 595 1/20/2023
6.1.2 585 1/9/2023
6.1.1 603 12/31/2022
6.1.0 575 12/31/2022
6.0.30 1,995 11/12/2022
6.0.29 640 11/11/2022
6.0.28 788 11/10/2022
6.0.27 697 11/8/2022
6.0.24 624 11/8/2022
6.0.22 646 11/5/2022
6.0.21 682 11/4/2022
6.0.20 619 11/3/2022
6.0.10 1,010 11/1/2022
6.0.8 713 11/1/2022
6.0.6 649 10/27/2022
6.0.5 684 10/27/2022
6.0.4 699 10/26/2022
6.0.3 804 10/21/2022
6.0.2 1,086 10/21/2022
6.0.1 2,225 10/12/2022
6.0.0 2,390 2/3/2022