BclExtensionPack.CoreLib 0.16.1

dotnet add package BclExtensionPack.CoreLib --version 0.16.1                
NuGet\Install-Package BclExtensionPack.CoreLib -Version 0.16.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="BclExtensionPack.CoreLib" Version="0.16.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BclExtensionPack.CoreLib --version 0.16.1                
#r "nuget: BclExtensionPack.CoreLib, 0.16.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 BclExtensionPack.CoreLib as a Cake Addin
#addin nuget:?package=BclExtensionPack.CoreLib&version=0.16.1

// Install BclExtensionPack.CoreLib as a Cake Tool
#tool nuget:?package=BclExtensionPack.CoreLib&version=0.16.1                

BclExtensionPack

using Task Extensions

Taskを返すWhenAll拡張メソッド(=同期版でいうところのvoid)

await hoges.Select(async hoge => { Console.WriteLine(await GetHogeNameAsync(hoge)); }).WhenAll();

Task<T[]>を返すWhenAll拡張メソッド

var fugas = await hoges.Select(async x => new { Id = x, Name = await GetNameAsync(x) }).WhenAll();

ValueTupleのWhenAll拡張メソッド(2-8組版まで対応)

var (hoge, fuga, piyo) = await (GetHogeAsync(), GetFugaAsync(), GetPiyoAsync()).WhenAll();

using UriBuilder Extensions

パスを連結して作りたいケースに対応する。

var hoge = new UriBuilder("www.hoge.co.jp/").UseScheme("https").SetPort(5001).AppendPath("fuga").AppendPath("entry");

using Enumerable Extensions

AsList(Listにcast出来る場合はcastし、そうでなければToListする。)

var hogeList = hoges.AsList();

using IsAny<T>(non null且つ、要素が存在するかの検査を行い結果をboolで返却する。)

if(hoges.IsAny()){ }
if(hoges.IsAny(hoge => hoge is { fuga : not null })){ }

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on BclExtensionPack.CoreLib:

Package Downloads
WebPack.CoreLib

ASP.NET Core Web Pack For .NET Core; Include Default Builder;

ORMIntegrator.Extensions.DependencyInjection

DI Extension For ORMIntegrator;

BclExtensionPack.Mail

Package Description

BclExtensionPack.Gcp.Extensions.DependencyInjection

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.16.1 16,416 4/3/2024
0.15.1 4,395 1/22/2024
0.14.1 10,387 9/13/2023
0.13.1 651 9/12/2023
0.12.1 1,770 8/5/2023
0.11.1 710 8/3/2023
0.10.3 6,489 5/11/2023
0.10.2 4,351 1/17/2023
0.10.1 1,401 12/23/2022
0.9.26 2,735 11/24/2022
0.9.25 1,266 11/22/2022
0.9.24 2,109 11/15/2022
0.9.23 374 11/14/2022
0.9.22 376 11/11/2022
0.9.21 368 11/11/2022
0.9.20 3,082 10/14/2022
0.9.19 2,657 9/21/2022
0.9.18 470 9/17/2022
0.9.17 2,479 8/4/2022
0.9.16 4,674 4/11/2022
0.9.15 503 4/6/2022
0.9.14 2,362 3/27/2022
0.9.13 1,113 3/23/2022
0.9.12 1,104 3/15/2022
0.9.11 1,115 3/11/2022
0.9.10 965 3/3/2022
0.9.9 1,067 3/1/2022
0.9.8 958 2/28/2022
0.9.7 3,295 12/3/2021
0.9.6 1,319 11/12/2021
0.9.5 574 10/26/2021
0.9.3 1,305 9/30/2021
0.9.2 392 9/30/2021
0.9.1-beta 669 9/28/2021
0.8.6-beta 1,172 9/15/2021
0.8.5-beta 2,363 8/16/2021
0.8.2-beta 285 6/17/2021
0.8.1-beta 276 6/17/2021
0.7.2-beta 317 6/2/2021
0.6.3-beta 274 4/21/2021
0.5.2-beta 259 4/13/2021
0.4.2-beta 269 3/16/2021
0.3.3-beta 432 12/17/2020
0.3.2-beta 314 12/14/2020
0.3.1-beta 288 12/14/2020
0.2.1-beta 284 11/25/2020
0.1.1-beta 386 11/19/2020
0.0.2-beta 396 10/21/2020

rename IsAny Api.