AlastairLundy.Extensions.System 5.4.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package AlastairLundy.Extensions.System --version 5.4.0                
NuGet\Install-Package AlastairLundy.Extensions.System -Version 5.4.0                
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="AlastairLundy.Extensions.System" Version="5.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AlastairLundy.Extensions.System --version 5.4.0                
#r "nuget: AlastairLundy.Extensions.System, 5.4.0"                
#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 AlastairLundy.Extensions.System as a Cake Addin
#addin nuget:?package=AlastairLundy.Extensions.System&version=5.4.0

// Install AlastairLundy.Extensions.System as a Cake Tool
#tool nuget:?package=AlastairLundy.Extensions.System&version=5.4.0                

AlastairLundy.System.Extensions

Extensions to C# System classes and types to improve them.

NuGet NuGet

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on AlastairLundy.Extensions.System:

Package Downloads
PlatformKit

Cross-platform Operating System Detection, Operating System Version Detection, Apple Silicon Mac Detection, programmatic .NET Runtime ID Generation, and more. For a full list of features please visit: https://github.com/alastairlundy/PlatformKit/blob/main/docs/FeatureComparisonByPlatform.md

CliRunner

CliRunner is a .NET Library for interacting with Command Line Interfaces, CliRunner is a library for interacting with Command Line Interfaces and wrapping around executables.

CliUtilsLib

A C# .NET library to help with the creation of CLI tools and/or console applications.

WCountLib

Count the number of lines, words, characters, and/or bytes in specified files, strings, or IEnumerables of strings.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.0 218 2/15/2025
5.4.1 95 1/31/2025
5.4.0 305 11/28/2024
5.3.1 179 11/14/2024
5.3.0 266 10/26/2024

## Changes since 5.3

### Additions
* Added some missing xml doc comments
* Added new Process extension method
* Added replacement for deprecated ``ToTitleCase`` string extension method
* Added ``EqualsAnyOf`` and ``EqualsAllOf`` generic extensions

### General Changes
* Optimized Version comparison code
* Optimized dot counting code performance
* Improved Exception throwing within Process Extension methods
* Removed deprecation of ``ContainsSpaceSeparatedSubStrings``
* Added support for Line Ending related code to .NET Standard 2.1
* Updated ``ContainsAnyOf`` code and ``ContainsAllOf`` code to use LINQ statements

### Deprecations
* Deprecated ``ContainsSpace`` extensions
* Deprecated ``IsUpperCaseLetter(string)`` and ``IsUpperCaseLetter(char)`` extensions - ``IsUpperCaseCharacter(char)`` replaces the latter extension method
* Deprecated ``IsLowerCaseLetter(string)`` extension - ``IsLowerCaseCharacter(char)`` replaces this extension method
* Deprecated ``LineEnding(string)`` extension method - This has been replaced with ``GetLineEnding(string)`` and ``GetLineEndingInFile(string)``.
* Deprecated ``IndexesOf(string, string, bool)`` extension method - This has been replaced with ``IndexesOf(string, string, StringComparison)`` extension method

### Fixes
* Fixed some existing xml doc comments
* Fixed an issue where AddMissingZeroes(string, int) would not throw an Argument exception if an invalid integer value was provided