AlastairLundy.Extensions.Collections
5.5.0
Prefix Reserved
See the version list below for details.
dotnet add package AlastairLundy.Extensions.Collections --version 5.5.0
NuGet\Install-Package AlastairLundy.Extensions.Collections -Version 5.5.0
<PackageReference Include="AlastairLundy.Extensions.Collections" Version="5.5.0" />
paket add AlastairLundy.Extensions.Collections --version 5.5.0
#r "nuget: AlastairLundy.Extensions.Collections, 5.5.0"
// Install AlastairLundy.Extensions.Collections as a Cake Addin #addin nuget:?package=AlastairLundy.Extensions.Collections&version=5.5.0 // Install AlastairLundy.Extensions.Collections as a Cake Tool #tool nuget:?package=AlastairLundy.Extensions.Collections&version=5.5.0
CollectionsExtensions
Extensions to C# IEnumerables, ICollections, and more to improve them.
Features
Support
This can be added to any .NET Standard 2.0, .NET Standard 2.1, or .NET 8 compatible Application or Library.
Compatibility
Collections Extensions Version series | .NET Targets supported |
---|---|
>= 5.4.0 | .NET Standard 2.0, .NET Standard 2.1, and .NET 8 |
< 5.4.0 | .NET 8 |
License
This project is licensed under the MIT license.
This is not legal advice. If you have any questions over licensing please contact an attorney.
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 was computed. 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. |
.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 | 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
- AlastairLundy.Extensions.System (>= 5.4.0 && < 6.0.0)
-
.NETStandard 2.1
- AlastairLundy.Extensions.System (>= 5.4.0 && < 6.0.0)
-
net8.0
- AlastairLundy.Extensions.System (>= 5.4.0 && < 6.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on AlastairLundy.Extensions.Collections:
Package | Downloads |
---|---|
AlastairLundy.Extensions.Processes
ProcessExtensions adds much needed abstractions and extensions to Processes and Process Running, to make it easier and safer. ProcessExtensions started as part of CliRunner but is now a separate package, helping other projects besides CliRunner to run processes easily and safely. |
GitHub repositories
This package is not used by any popular GitHub repositories.
## Changes since 5.4.0
### Additions
* Added ``ContainsSeparator`` extension method
* Added ``ToString()`` extension method for IEnumerables
* Added replacement methods for string and char IndexesOf extension methods
* Added ``KeyValuePairs()`` to IHashMap<TKey, TValue> and HashMap<TKey, TValue>
### Changes
* General code optimizations
* Updated dependency on SystemExtensions to 5.4.0 from 5.2.0
* Optimized ``FrequencyOf`` code to use LINQ
* Simplified string enumerable indexes of code
* Cleaned up IndexesOf extension methods
* Simplified IsTrue and IsFalse code
* Implemented IDisposable in HashMap and prevent usage after Disposal
* Remove inheritance of IDisposable from IBigCollection<T>
* Fixed issues with ICollection extension methods not returning ICollections
### Deprecations and Removals
* Deprecated ``CharIndexesOf`` and ``StringIndexesOf`` extension methods
* Deprecated ``IsAll`` and ``IsAny`` extension methods - These will be removed in a future version
* Deprecated the ``ForEach`` extension methods - This will be removed in a future version
* Deprecated ``IEnumerable<int> IndexesOf<T>(this IEnumerable<string> source, char expected)``