IX.StandardExtensions
0.7.25
dotnet add package IX.StandardExtensions --version 0.7.25
NuGet\Install-Package IX.StandardExtensions -Version 0.7.25
<PackageReference Include="IX.StandardExtensions" Version="0.7.25" />
paket add IX.StandardExtensions --version 0.7.25
#r "nuget: IX.StandardExtensions, 0.7.25"
// Install IX.StandardExtensions as a Cake Addin #addin nuget:?package=IX.StandardExtensions&version=0.7.25 // Install IX.StandardExtensions as a Cake Tool #tool nuget:?package=IX.StandardExtensions&version=0.7.25
IX.StandardExtensions
Introduction
IX.StandardExtensions is a .NET library that seeks to implement various extensions in order to standardize access to some functionality.
The motivation behind this library was introduced in .NET 4 where the
List<T>
class
introduced the ForEach method. Arrays have their own static ForEach method (which turns out to be
extremely slow compared to the foreach cycle), whereas IEnumerable do not have a ForEach at all.
Then came the Task Parallel Library which introduced Parallel.ForEach, which uses IEnumerable as a parameter.
So I came up with this library that exposes extension methods which give the same ForEach approach to enumerable and to array.
Furthermore, the ICloneable interface is recommended by MSDN to not be used at all, leaving us with no baked-in way to define an object which can have shallow clones or an object which can have deep clones. I had to make my own.
This is, in a nutshell, how I came up with this library.
Documentation
Documentation is available at this address (and is currently under construction 🚧 ).
Requirements
Requirements for IX.StandardExtensions are the same across IX projects. This page lists estimative .NET version support information across various frameworks and OSes.
Highlights
- Extension methods for arrays that aim to implement the same behavior as IEnumerable
- Extension methods for string comparison (current/invariant culture, case sensitive/insensitive, ordinal, etc.), such as string.CurrentCultureEqualsInsensitive()
- A character set detector at IX.StandardExtensions.Globalization.CharsetDetectionEngine
- Observable and thread-safe observable collections at IX.Observable
- Classes and extensions for undo/redo
- Thread-safe and atomic classes in IX.System.Threading
- Advanced locking and synchronization classes and extension methods in IX.System.Threading
- Object pools, standardized concurrent dictionaries and invalidating lazy in IX.Efficiency
- Busy UI scope and notification-related events and delegates in IX.StandardExtensions.ComponentModel
- Contracts-oriented helper methods for requires in IX.StandardExtensions.Contracts
- Abstractions for IO operations
- Standardized entitiy interfaces
- Asynchronous-related helper methods and classes
...and many many extension methods, as well as other goodies.
Contributing
Guidelines
Contributing can be done by anyone, at any time and in any form, as long as the contributor has read the contributing guidelines beforehand and tries their best to abide by them.
Licenses and structure
This project uses the MIT license.
Additionally, the character set detection engine featured at IX.StandardExtensions.Globalization takes bits and pieces from various other projects, and is licensed as such. You can find the additional licenses in /src/IX.StandardExtensions/StandardExtensions/Globalization/CharsetDetection/Licenses.
The character set detector itself is based (and imports most of the code from) Julian Verdurmen's UTF-Unknown project. All applicable licenses translate to this code. Changes from that project are:
- public classes have been made internal
- as much as possible, code has been formatted in a better way
- as much as possible, long has been used instead of int
I have made an effort to keep the original files (headers and license notice included) intact as much as possible, however, adaptations will have occurred. I do not take any credit for that part of the code, all of it goes to Julian and the respective contributors and original developers.
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 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 was computed. 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 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 is compatible. net463 was computed. net47 is compatible. 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. |
-
.NETFramework 4.6.2
- JetBrains.Annotations (>= 2022.1.0)
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0 && < 7.0.0)
- System.Memory (>= 4.5.5 && < 5.0.0)
- System.Net.Http (>= 4.3.4 && < 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4 && < 5.0.0)
- System.ValueTuple (>= 4.5.0 && < 5.0.0)
-
.NETFramework 4.7
- JetBrains.Annotations (>= 2022.1.0)
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0 && < 7.0.0)
- System.Memory (>= 4.5.5 && < 5.0.0)
- System.Net.Http (>= 4.3.4 && < 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4 && < 5.0.0)
-
.NETStandard 2.0
- JetBrains.Annotations (>= 2022.1.0)
- Microsoft.Bcl.AsyncInterfaces (>= 6.0.0 && < 7.0.0)
- System.ComponentModel.Annotations (>= 5.0.0 && < 6.0.0)
- System.Memory (>= 4.5.5 && < 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0 && < 6.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4 && < 5.0.0)
-
.NETStandard 2.1
- JetBrains.Annotations (>= 2022.1.0)
- System.ComponentModel.Annotations (>= 5.0.0 && < 6.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0 && < 6.0.0)
-
net6.0
- JetBrains.Annotations (>= 2022.1.0)
- System.Text.Encoding.CodePages (>= 6.0.0 && < 7.0.0)
-
net7.0
- JetBrains.Annotations (>= 2022.1.0)
NuGet packages (6)
Showing the top 5 NuGet packages that depend on IX.StandardExtensions:
Package | Downloads |
---|---|
IX.StandardExtensions.WPF
A library containing several extensions for WPF that provide useful classes and aim to standardize app implementations. |
|
dotnet-csprojVersioning
Package Description |
|
IX.Versioning.NuSpec
A library used for versioning NUSPEC files. |
|
IX.Versioning.Csproj
A library used for versioning CSPROJ files. |
|
IX.StandardExtensions.RestSharp
A library containing several extensions for RestSharp. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.7.25 | 1,190 | 11/16/2022 |
0.7.24 | 590 | 8/10/2022 |
0.7.23 | 593 | 7/21/2022 |
0.7.22 | 1,215 | 5/17/2022 |
0.7.21 | 980 | 4/7/2022 |
0.7.20 | 610 | 2/28/2022 |
0.7.19 | 844 | 2/7/2022 |
0.7.18 | 491 | 12/27/2021 |
0.7.17 | 339 | 12/20/2021 |
0.7.16 | 1,039 | 12/1/2021 |
0.7.15 | 774 | 10/15/2021 |
0.7.14 | 430 | 10/13/2021 |
0.7.13 | 392 | 10/6/2021 |
0.7.12 | 437 | 8/3/2021 |
0.7.11 | 491 | 7/27/2021 |
0.7.10 | 506 | 7/21/2021 |
0.7.9 | 388 | 7/15/2021 |
0.7.8 | 426 | 6/9/2021 |
0.7.7 | 521 | 5/7/2021 |
0.7.6 | 442 | 5/7/2021 |
0.7.5 | 416 | 4/22/2021 |
0.7.4 | 669 | 11/28/2020 |
0.7.3 | 3,670 | 11/11/2020 |
0.7.2 | 539 | 11/2/2020 |
0.7.1 | 1,209 | 10/19/2020 |
0.7.0 | 570 | 10/18/2020 |
0.6.0 | 551 | 10/5/2020 |
0.5.6 | 621 | 9/28/2020 |
0.5.5 | 1,694 | 6/30/2020 |
0.5.4 | 700 | 5/19/2020 |
0.5.3 | 1,991 | 3/20/2020 |
0.5.1.2 | 617 | 3/18/2020 |
0.5.1.1 | 4,394 | 10/8/2019 |
0.5.0.123 | 1,004 | 9/18/2019 |
0.5.0.90 | 1,181 | 6/25/2019 |
0.5.0.88 | 1,680 | 6/20/2019 |
0.5.0.87 | 1,119 | 6/13/2019 |
0.5.0.86 | 2,516 | 6/12/2019 |
0.5.0.74 | 1,688 | 5/13/2019 |
0.5.0.71 | 1,780 | 4/18/2019 |
0.5.0.67 | 1,678 | 3/19/2019 |
0.5.0.66 | 1,775 | 3/4/2019 |
0.5.0.65 | 1,781 | 2/11/2019 |
0.5.0.63 | 2,078 | 1/4/2019 |
0.5.0.61 | 1,700 | 12/13/2018 |
0.5.0.60 | 1,755 | 11/23/2018 |
0.5.0.58 | 1,758 | 10/4/2018 |
0.5.0.57 | 1,714 | 9/28/2018 |
0.5.0.56 | 1,832 | 8/23/2018 |
0.5.0.55 | 1,789 | 8/22/2018 |
0.5.0.54 | 1,839 | 8/21/2018 |
0.5.0.53 | 1,785 | 8/14/2018 |
0.5.0.52 | 1,776 | 8/8/2018 |
0.5.0.51 | 1,782 | 7/25/2018 |
0.5.0.50 | 1,719 | 7/24/2018 |
0.5.0.49 | 1,891 | 7/3/2018 |
0.5.0.48 | 1,941 | 6/28/2018 |
0.5.0.47 | 1,836 | 6/28/2018 |
0.5.0.46 | 1,955 | 6/7/2018 |
0.5.0.45 | 1,886 | 6/7/2018 |
0.5.0.44 | 1,860 | 5/25/2018 |
0.5.0.43 | 1,877 | 5/8/2018 |
0.5.0.42 | 1,959 | 4/27/2018 |
0.5.0.41 | 1,981 | 4/18/2018 |
0.5.0.40 | 1,901 | 4/12/2018 |
0.5.0.39 | 3,540 | 2/28/2018 |
0.5.0.38 | 1,772 | 2/20/2018 |
0.5.0.37 | 1,986 | 2/13/2018 |
0.5.0.36 | 1,873 | 2/11/2018 |
0.5.0.35 | 1,876 | 2/5/2018 |
0.5.0.34 | 1,886 | 1/26/2018 |
0.5.0.33 | 1,800 | 1/25/2018 |
0.5.0.29 | 1,062 | 1/9/2018 |
0.5.0.9 | 1,835 | 1/4/2018 |
0.5.0.7 | 1,772 | 12/22/2017 |
0.5.0.5 | 1,836 | 12/15/2017 |
0.5.0.3 | 1,763 | 12/8/2017 |
0.5.0.1 | 1,489 | 12/7/2017 |
- Synchronization context GetAwaiter
- Updated documentation and added package readme
- Added specific target for .NET 7.0
- ViewModelBase now has a SetPropertyBackingField method (optionally with validation)