BclExtensionPack.CoreLib
0.16.1
dotnet add package BclExtensionPack.CoreLib --version 0.16.1
NuGet\Install-Package BclExtensionPack.CoreLib -Version 0.16.1
<PackageReference Include="BclExtensionPack.CoreLib" Version="0.16.1" />
<PackageVersion Include="BclExtensionPack.CoreLib" Version="0.16.1" />
<PackageReference Include="BclExtensionPack.CoreLib" />
paket add BclExtensionPack.CoreLib --version 0.16.1
#r "nuget: BclExtensionPack.CoreLib, 0.16.1"
#:package BclExtensionPack.CoreLib@0.16.1
#addin nuget:?package=BclExtensionPack.CoreLib&version=0.16.1
#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 | Versions 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. 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. |
-
net8.0
- Microsoft.Extensions.Configuration.Binder (>= 8.0.1)
- Microsoft.Extensions.Configuration.EnvironmentVariables (>= 8.0.0)
- Microsoft.Extensions.Configuration.Json (>= 8.0.0)
- System.Linq.Async (>= 6.0.1)
- ZString (>= 2.6.0)
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 | 40,798 | 4/3/2024 |
| 0.15.1 | 4,989 | 1/22/2024 |
| 0.14.1 | 13,497 | 9/13/2023 |
| 0.13.1 | 817 | 9/12/2023 |
| 0.12.1 | 1,986 | 8/5/2023 |
| 0.11.1 | 896 | 8/3/2023 |
| 0.10.3 | 7,273 | 5/11/2023 |
| 0.10.2 | 4,666 | 1/17/2023 |
| 0.10.1 | 1,591 | 12/23/2022 |
| 0.9.26 | 3,044 | 11/24/2022 |
| 0.9.25 | 1,467 | 11/22/2022 |
| 0.9.24 | 2,336 | 11/15/2022 |
| 0.9.23 | 517 | 11/14/2022 |
| 0.9.22 | 497 | 11/11/2022 |
| 0.9.21 | 485 | 11/11/2022 |
| 0.9.20 | 3,366 | 10/14/2022 |
| 0.9.19 | 2,874 | 9/21/2022 |
| 0.9.18 | 615 | 9/17/2022 |
| 0.9.17 | 2,738 | 8/4/2022 |
| 0.9.16 | 5,022 | 4/11/2022 |
rename IsAny Api.