XmobiTea.Linq
1.0.1
See the version list below for details.
dotnet add package XmobiTea.Linq --version 1.0.1
NuGet\Install-Package XmobiTea.Linq -Version 1.0.1
<PackageReference Include="XmobiTea.Linq" Version="1.0.1" />
paket add XmobiTea.Linq --version 1.0.1
#r "nuget: XmobiTea.Linq, 1.0.1"
// Install XmobiTea.Linq as a Cake Addin #addin nuget:?package=XmobiTea.Linq&version=1.0.1 // Install XmobiTea.Linq as a Cake Tool #tool nuget:?package=XmobiTea.Linq&version=1.0.1
XmobiTea.Linq
XmobiTea.Linq
is a custom extension library that enhances and simplifies common operations on collections that implement IEnumerable<T>
. It extends the functionality provided by the standard LINQ (Language Integrated Query) methods in the .NET framework, allowing developers to write more concise, readable, and efficient code.
Features
- Enhanced Collection Operations: Additional methods for filtering (
Where
), type casting (Cast
), searching (Find
), checking for existence (Contains
), finding the index (IndexOf
), and transforming data (Select
). - Simplified Syntax: Provides a more readable and concise way to perform operations on collections, reducing the need for verbose loops and conditional checks.
- Lazy Evaluation: Many methods use
yield return
, enabling lazy evaluation. This allows for more efficient processing, especially with large data sets or potentially infinite sequences. - Type Safety and Flexibility: Methods like
Cast
offer type-safe operations, making it easier to work with collections where the element type may not be known at compile time.
Installation
To use XmobiTea.Linq
, add it to your project as a reference.
Usage
Example 1: Filtering a Collection
using XmobiTea.Linq;
using System.Collections.Generic;
var numbers = new List<int> { 1, 2, 3, 4, 5 };
var evenNumbers = numbers.Where(n => n % 2 == 0);
foreach (var number in evenNumbers)
{
Console.WriteLine(number);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net46 is compatible. net461 is compatible. net462 is compatible. net463 was computed. net47 is compatible. net471 is compatible. net472 is compatible. net48 is compatible. net481 is compatible. |
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. |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.7
- No dependencies.
-
.NETFramework 4.7.1
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8
- No dependencies.
-
.NETFramework 4.8.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
.NETStandard 2.1
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on XmobiTea.Linq:
Package | Downloads |
---|---|
XmobiTea.Bean
XmobiTea.Bean is a powerful library designed to simplify the management of singleton objects and automate component binding in .NET applications. With its easy-to-use API, XmobiTea.Bean provides a streamlined approach to handling dependency injection, object initialization, and automatic binding. |
|
XmobiTea.Data.Converter
XmobiTea.Data.Converter is designed to facilitate the conversion of data into objects, making them easier to work with and integrate into your application. It simplifies the process of transforming raw data into structured objects, enhancing usability and efficiency. |
|
XmobiTea.ProtonNet.Token
XmobiTea.ProtonNet.Token provides methods for handling Proton tokens, which are a type of token managed by the ProtonServer. These methods ensure that tokens are processed securely and efficiently, facilitating authentication and session management within the ProtonNet ecosystem. |
GitHub repositories
This package is not used by any popular GitHub repositories.