Gerk.LinqExtensions 2.1.0

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

// Install Gerk.LinqExtensions as a Cake Tool
#tool nuget:?package=Gerk.LinqExtensions&version=2.1.0

Gerk.LinqExtensions

AsyncExtensions.cs

This contains code related to asynchronous operations with Linq.

SelectAsync

Runs asynchronous function on each element in the collection, projecting to some output. Allows for a concurrency limit.

ForEachAsync

Runs asynchronous function on each elment in the collection. Allows for a concurrency limit.

FindMatchAsync

Runs asynchronous predicate on each element in a collection. Returns the first element found that matches, not nessicarily the earlist match in the collection.

Requires .Net Framework 4.7 or great, or .Net Standard 2.0 or greater, or .Net Core 1.0 or greater. (Reason: ValueTuple)


EfficentLinq

This contains code related to Linq that recreates already existing functionality, but more efficently.

ToArray

Takes a length argument to create an array without having to resize. Saves on having to resize array.

ToList

Takes a length argument to create a list without having to resize. Saves on having to resize the List.

FirstIfExists

Identical to FirstOrDefault except it returns a tuple with a return element and a boolean to indicate if there was an element found.

Requires .Net Framework 4.7 or great, or .Net Standard 2.0 or greater, or .Net Core 1.0 or greater. (Reason: ValueTuple)

LastIfExists

Identical to LastOrDefault except it returns a tuple with a return element and a boolean to indicate if there was an element found.

Requires .Net Framework 4.7 or great, or .Net Standard 2.0 or greater, or .Net Core 1.0 or greater. (Reason: ValueTuple)

TryFirst

Identical to FirstIfExists except uses an out argument and is compatiable with all supported versions.

TryLast

Identical to LastIfExists except uses an out argument and is compatiable with all supported versions.


EnumeratorEnumerable

Internal code. Allows for efficent conversion from IEnumerator to IEnumerable.


EnumeratorExtensions

Extension methods for IEnumerator.

AsEnumerable

Creates IEnumerable using IEnumerator.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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 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. 
.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 is compatible. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Gerk.LinqExtensions:

Package Downloads
Gerk.SpecialDataReaders

Package Description

Gerk.TableTransfer

C# wraper for table transfer protocol

Gerk.Crypto.EncryptedTransfer

Secure transfer library.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.0 1,841 11/14/2021
2.0.2 460 11/13/2021
2.0.1 1,810 11/1/2021
2.0.0 424 10/29/2021
1.2.4 296 10/21/2021
1.2.3 331 10/15/2021
1.2.2 323 10/14/2021
1.2.1 306 10/10/2021
1.2.0 324 10/10/2021
1.1.0 316 8/26/2021
1.0.1 294 8/26/2021
1.0.0 300 8/26/2021

Unit tests coming soon.