IX.StandardExtensions 0.7.25

dotnet add package IX.StandardExtensions --version 0.7.25                
NuGet\Install-Package IX.StandardExtensions -Version 0.7.25                
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="IX.StandardExtensions" Version="0.7.25" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IX.StandardExtensions --version 0.7.25                
#r "nuget: IX.StandardExtensions, 0.7.25"                
#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 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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,196 11/16/2022
0.7.24 592 8/10/2022
0.7.23 595 7/21/2022
0.7.22 1,219 5/17/2022
0.7.21 982 4/7/2022
0.7.20 612 2/28/2022
0.7.19 846 2/7/2022
0.7.18 493 12/27/2021
0.7.17 341 12/20/2021
0.7.16 1,043 12/1/2021
0.7.15 776 10/15/2021
0.7.14 432 10/13/2021
0.7.13 394 10/6/2021
0.7.12 439 8/3/2021
0.7.11 493 7/27/2021
0.7.10 510 7/21/2021
0.7.9 390 7/15/2021
0.7.8 428 6/9/2021
0.7.7 523 5/7/2021
0.7.6 444 5/7/2021
0.7.5 418 4/22/2021
0.7.4 671 11/28/2020
0.7.3 3,677 11/11/2020
0.7.2 541 11/2/2020
0.7.1 1,211 10/19/2020
0.7.0 572 10/18/2020
0.6.0 553 10/5/2020
0.5.6 623 9/28/2020
0.5.5 1,696 6/30/2020
0.5.4 702 5/19/2020
0.5.3 1,993 3/20/2020
0.5.1.2 619 3/18/2020
0.5.1.1 4,396 10/8/2019
0.5.0.123 1,006 9/18/2019
0.5.0.90 1,183 6/25/2019
0.5.0.88 1,682 6/20/2019
0.5.0.87 1,121 6/13/2019
0.5.0.86 2,518 6/12/2019
0.5.0.74 1,690 5/13/2019
0.5.0.71 1,782 4/18/2019
0.5.0.67 1,680 3/19/2019
0.5.0.66 1,777 3/4/2019
0.5.0.65 1,783 2/11/2019
0.5.0.63 2,080 1/4/2019
0.5.0.61 1,702 12/13/2018
0.5.0.60 1,757 11/23/2018
0.5.0.58 1,760 10/4/2018
0.5.0.57 1,716 9/28/2018
0.5.0.56 1,834 8/23/2018
0.5.0.55 1,791 8/22/2018
0.5.0.54 1,841 8/21/2018
0.5.0.53 1,787 8/14/2018
0.5.0.52 1,778 8/8/2018
0.5.0.51 1,784 7/25/2018
0.5.0.50 1,721 7/24/2018
0.5.0.49 1,893 7/3/2018
0.5.0.48 1,943 6/28/2018
0.5.0.47 1,838 6/28/2018
0.5.0.46 1,957 6/7/2018
0.5.0.45 1,888 6/7/2018
0.5.0.44 1,862 5/25/2018
0.5.0.43 1,879 5/8/2018
0.5.0.42 1,961 4/27/2018
0.5.0.41 1,983 4/18/2018
0.5.0.40 1,903 4/12/2018
0.5.0.39 3,542 2/28/2018
0.5.0.38 1,774 2/20/2018
0.5.0.37 1,988 2/13/2018
0.5.0.36 1,875 2/11/2018
0.5.0.35 1,878 2/5/2018
0.5.0.34 1,888 1/26/2018
0.5.0.33 1,802 1/25/2018
0.5.0.29 1,064 1/9/2018
0.5.0.9 1,837 1/4/2018
0.5.0.7 1,774 12/22/2017
0.5.0.5 1,838 12/15/2017
0.5.0.3 1,767 12/8/2017
0.5.0.1 1,491 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)