AsyncLinqR 1.2.0

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

// Install AsyncLinqR as a Cake Tool
#tool nuget:?package=AsyncLinqR&version=1.2.0                

AsyncLinqR

CI NuGet

English version

Version française juste en dessous

Introduction

The AsyncLinqR library is an extension to LINQ for .NET that provides asynchronous versions of existing LINQ methods. These methods allow you to perform data query operations asynchronously.

Features

  • Asynchronous versions of popular LINQ methods such as Where, Select, First, FirstOrDefault etc.
  • Seamless support for asynchronous operations through the use of async and await.
  • Support for asynchronous data types such as Task<T> and IAsyncEnumerable<T>.

Examples of use

Filter a collection asynchronously:

using AsyncLinqR;

var result = await myCollection.WhereAsync(async x => await PredicateAsync(x)).ToListAsync();

Map a collection asynchronously :


using AsyncLinqR;

var result = await myCollection.SelectAsync(async x => await SomeOperationAsync(x)).ToListAsync();

Installation

You can install the library via NuGet Package Manager or via the package management console:

Install-Package AsyncLinqR

Contributions

Contributions and feedback are welcome! You can submit an Issue or a Pull Request on the project page.

License

This project is licensed under the MIT license. For more information, please consult the LICENSE file.

Version française

Introduction

La bibliothèque AsyncLinqR est une extension de LINQ pour .NET qui fournit des versions asynchrones des méthodes de LINQ existantes. Ces méthodes vous permettent d'effectuer des opérations de requête de données de manière asynchrone.

Fonctionnalités

  • Versions asynchrones des méthodes LINQ populaires telles que Where, Select, First, FirstOrDefault etc.
  • Prise en charge transparente des opérations asynchrones grâce à l'utilisation de async et await.
  • Compatibilité avec les types de données asynchrones tels que Task<T> et IAsyncEnumerable<T>.

Exemples d'utilisation

Filtrer une collection de manière asynchrone :

using AsyncLinqR;

var result = await myCollection.WhereAsync(async x => await PredicateAsync(x)).ToListAsync();

Mapper une collection de manière asynchrone :


using AsyncLinqR;

var result = await myCollection.SelectAsync(async x => await SomeOperationAsync(x)).ToListAsync();

Installation

Vous pouvez installer la bibliothèque via NuGet Package Manager ou via la console de gestion de package :

Install-Package AsyncLinqR

Contributions

Les contributions, feedbacks, sont les bienvenues ! Vous pouvez soumettre une Issue ou une Pull Request sur la page du projet.

Licence

Ce projet est sous licence MIT. Pour plus d'informations, veuillez consulter le fichier LICENSE.

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

    • No dependencies.
  • net7.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AsyncLinqR:

Package Downloads
One.More.Lib.For.MediatR

One more library for MediatR. It allows you to configure the most commonly used PipelineBehaviors in a very simple way.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 120 5/1/2024
1.0.0 194 3/24/2024
0.0.3 114 3/21/2024
0.0.1 117 3/21/2024