EnhancedLinq.MsExtensions
1.0.0-alpha.5
Prefix Reserved
dotnet add package EnhancedLinq.MsExtensions --version 1.0.0-alpha.5
NuGet\Install-Package EnhancedLinq.MsExtensions -Version 1.0.0-alpha.5
<PackageReference Include="EnhancedLinq.MsExtensions" Version="1.0.0-alpha.5" />
<PackageVersion Include="EnhancedLinq.MsExtensions" Version="1.0.0-alpha.5" />
<PackageReference Include="EnhancedLinq.MsExtensions" />
paket add EnhancedLinq.MsExtensions --version 1.0.0-alpha.5
#r "nuget: EnhancedLinq.MsExtensions, 1.0.0-alpha.5"
#:package EnhancedLinq.MsExtensions@1.0.0-alpha.5
#addin nuget:?package=EnhancedLinq.MsExtensions&version=1.0.0-alpha.5&prerelease
#tool nuget:?package=EnhancedLinq.MsExtensions&version=1.0.0-alpha.5&prerelease
EnhancedLinq.MsExtensions
A set of LINQ lambda-style extension methods specifically designed for working with StringSegment in .NET.
This library enhances the usability of StringSegment by providing deferred execution and immediate mode LINQ style extensions.
Now updated to use C# 14 and extension everything as of version 0.12.0. C# language version must be set to 14 or higher for EnhancedLinq to work.
License
This project is licensed under the MPL 2.0 license. See the LICENSE file for more details.
Features
- Deferred Execution Extensions: These extensions return a sequence that is enumerated upon usage of the returned sequence.
- Immediate Mode Extensions: These extensions operate in immediate mode, executing as soon as they are called.
Installation
You can install the EnhancedLinq.MsExtensions package via NuGet Package Manager with the following command:
Install-Package EnhancedLinq.MsExtensions
Alternatively, you can add it to your project file:
<PackageReference Include="EnhancedLinq.MsExtensions" Version="0.1.0" />
Usage
Here are some examples of how to use the extensions provided by EnhancedLinq.MsExtensions:
Example 1: Using Immediate Mode Extensions
using EnhancedLinq.MsExtensions.Immediate;
using Microsoft.Extensions.Primitives;
StringSegment segment = new StringSegment("Hello, World!");
// Using the Count extension
int count = segment.Count(c => c == 'o'); // Returns 2
Example 2: Using Deferred Execution Extensions
using EnhancedLinq.MsExtensions.StringSegments.Deferred;
using Microsoft.Extensions.Primitives;
// Using the Where extension
IEnumerable<T> filteredChars = segment.Where(c => char.IsUpper(c)); // Returns { 'H', 'W' }
Contributing
Contributions are welcome! If you would like to contribute to EnhancedLinq.MsExtensions, please follow the contributing guide.
Support
For any issues or feature requests, please open an issue in the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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. net9.0 is compatible. 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 is compatible. 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. |
| .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 was computed. |
| .NET Framework | net461 was computed. 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. |
-
.NETStandard 2.0
- DotExtensions.MsExtensions (>= 9.4.1)
- DotPrimitives.Collections (>= 4.1.0)
- Microsoft.Extensions.Primitives (>= 10.0.2)
-
net10.0
- DotExtensions.MsExtensions (>= 9.4.1)
- DotPrimitives.Collections (>= 4.1.0)
- Microsoft.Extensions.Primitives (>= 10.0.2)
-
net8.0
- DotExtensions.MsExtensions (>= 9.4.1)
- DotPrimitives.Collections (>= 4.1.0)
- Microsoft.Extensions.Primitives (>= 10.0.2)
-
net9.0
- DotExtensions.MsExtensions (>= 9.4.1)
- DotPrimitives.Collections (>= 4.1.0)
- Microsoft.Extensions.Primitives (>= 10.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.5 | 28 | 1/23/2026 |
| 1.0.0-alpha.4 | 95 | 1/3/2026 |
| 1.0.0-alpha.3 | 152 | 12/23/2025 |
| 1.0.0-alpha.2 | 424 | 12/8/2025 |
| 1.0.0-alpha.1 | 633 | 12/2/2025 |
* Updated internal Polyfill version from 9.6.0 to 9.7.2
* Updated DotExtensions.MsExtensions from 9.3.0 to 9.4.1