Found 95 packages
Introduces IAsyncEnumerable, IAsyncEnumerator, ForEachAsync(), and ParallelForEachAsync() GitHub: https://github.com/Dasync/AsyncEnumerable PROBLEM SPACE Helps to (a) create an element provider, where producing an element can take a lot of time due to dependency on other asynchronous events (e.g. wait handles, network streams), and (b) a consumer that processes those element as soon as they are ready without blocking the thread (the processing is scheduled on a worker thread instead). EXAMPLE using Dasync.Collections; static IAsyncEnumerable<int> ProduceAsyncNumbers(int start, int end) { return new AsyncEnumerable<int>(async yield => { // Just to show that ReturnAsync can be used multiple times await yield.ReturnAsync(start); for (int number = start + 1; number <= end; number++) await yield.ReturnAsync(number); // You can break the enumeration loop with the following call: yield.Break(); // This won't be executed due to the loop break above await yield.ReturnAsync(12345); }); } // Just to compare with synchronous version of enumerator static IEnumerable<int> ProduceNumbers(int start, int end) { yield return start; for (int number = start + 1; number <= end; number++) yield return number; yield break; yield return 12345; } static async Task ConsumeNumbersAsync() { var asyncEnumerableCollection = ProduceAsyncNumbers(start: 1, end: 10); await asyncEnumerableCollection.ForEachAsync(async number => { await Console.Out.WriteLineAsync($"{number}"); }); } // Just to compare with synchronous version of enumeration static void ConsumeNumbers() { var enumerableCollection = ProduceNumbers(start: 1, end: 10); foreach (var number in enumerableCollection) { Console.Out.WriteLine($"{number}"); } }
A lightning-fast enumerator for arrays.
Package Description
Utilities and guidance to manage catalogue tables with Entity Framework Core based on C# enums
A simple enumerator for CSV files, output it as a table like 2 dimension list for further analysing
JetBrains Debugger Tools MsClrProcessEnumerator Core Package Version 233.0.20240606.114412
Enumeradores globais.
Roslyn based C# heap allocation diagnostic analyzer that can detect explicit and many implicit allocations like boxing, display classes a.k.a closures, implicit delegate creations, etc The code-assist version that integrates with the Visual Studio 2019 IDE is here, https://marketplace.visualstudio.com/items?itemName=MukulSabharwal.ClrHeapAllocationAnalyzer NOTE: This is the build analyzer. NOTE: You require ' ' ' ' Visual Studio 2019 ' ' ' ' for this to work.
Extensions for working with enumerables in .NET, a-la LINQ.
An enumerator for describing an interval of time
Enumerate classes by interface or inheritance using reflection for .NET 8+
When a folder contains a number of files, it gets slower to enumerate them. This package helps to enumerate them faster than DirectoryInfo and FileInfo classes in C#.Net
A Generic HL7 message low level DECODER supporting all HL7 PIPE Delimited Messages. The library implements the IEnumerable Interface allowing for Linq queries to be used on HL7 Messages at any level. Common HL7 DataTypes are included within an extensible framework allowing Custom HL7 DataTypes to be defined. Extensible HL7 Table support for standard and user defined tables is also included. While the Data Types may reflect the Australian conventions, no specific standards or versions of HL7 are implemented or required. This makes the library ideal for both compliant and non-compliant message handling.
Package assembly Nuget, Granting Technology Study - gt.enumerator.general (view notes)
Library containing IAsyncEnumerable, and async LINQ methods.
Transforms the IEnumerator or IEnumerator<T> to IEnumerable<T> (Source only package).
Enu is a fast array enumerator for .NET.
Package Description
Package assembly Nuget, Granting Technology Study - gt.enumerator.database (view notes)
Package Description