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,054 11/16/2022
0.7.24 554 8/10/2022
0.7.23 562 7/21/2022
0.7.22 1,137 5/17/2022
0.7.21 923 4/7/2022
0.7.20 576 2/28/2022
0.7.19 796 2/7/2022
0.7.18 444 12/27/2021
0.7.17 307 12/20/2021
0.7.16 1,009 12/1/2021
0.7.15 724 10/15/2021
0.7.14 402 10/13/2021
0.7.13 363 10/6/2021
0.7.12 397 8/3/2021
0.7.11 451 7/27/2021
0.7.10 460 7/21/2021
0.7.9 356 7/15/2021
0.7.8 397 6/9/2021
0.7.7 486 5/7/2021
0.7.6 402 5/7/2021
0.7.5 384 4/22/2021
0.7.4 629 11/28/2020
0.7.3 3,508 11/11/2020
0.7.2 501 11/2/2020
0.7.1 1,119 10/19/2020
0.7.0 540 10/18/2020
0.6.0 522 10/5/2020
0.5.6 587 9/28/2020
0.5.5 1,557 6/30/2020
0.5.4 658 5/19/2020
0.5.3 1,918 3/20/2020
0.5.1.2 584 3/18/2020
0.5.1.1 4,234 10/8/2019
0.5.0.123 974 9/18/2019
0.5.0.90 1,151 6/25/2019
0.5.0.88 1,631 6/20/2019
0.5.0.87 1,088 6/13/2019
0.5.0.86 2,415 6/12/2019
0.5.0.74 1,638 5/13/2019
0.5.0.71 1,725 4/18/2019
0.5.0.67 1,628 3/19/2019
0.5.0.66 1,719 3/4/2019
0.5.0.65 1,707 2/11/2019
0.5.0.63 2,018 1/4/2019
0.5.0.61 1,638 12/13/2018
0.5.0.60 1,692 11/23/2018
0.5.0.58 1,686 10/4/2018
0.5.0.57 1,640 9/28/2018
0.5.0.56 1,766 8/23/2018
0.5.0.55 1,724 8/22/2018
0.5.0.54 1,766 8/21/2018
0.5.0.53 1,720 8/14/2018
0.5.0.52 1,731 8/8/2018
0.5.0.51 1,724 7/25/2018
0.5.0.50 1,680 7/24/2018
0.5.0.49 1,829 7/3/2018
0.5.0.48 1,875 6/28/2018
0.5.0.47 1,778 6/28/2018
0.5.0.46 1,890 6/7/2018
0.5.0.45 1,830 6/7/2018
0.5.0.44 1,795 5/25/2018
0.5.0.43 1,823 5/8/2018
0.5.0.42 1,896 4/27/2018
0.5.0.41 1,921 4/18/2018
0.5.0.40 1,839 4/12/2018
0.5.0.39 3,382 2/28/2018
0.5.0.38 1,719 2/20/2018
0.5.0.37 1,912 2/13/2018
0.5.0.36 1,814 2/11/2018
0.5.0.35 1,823 2/5/2018
0.5.0.34 1,835 1/26/2018
0.5.0.33 1,743 1/25/2018
0.5.0.29 1,031 1/9/2018
0.5.0.9 1,779 1/4/2018
0.5.0.7 1,711 12/22/2017
0.5.0.5 1,774 12/15/2017
0.5.0.3 1,700 12/8/2017
0.5.0.1 1,393 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)