AlastairLundy.Extensions.System 4.5.0

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

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

AlastairLundy.System.Extensions

Extensions to C# System classes and structs to help improve them.

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. 
.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 was computed. 
.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.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 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

PlatformKit.Extensions.OperatingSystem

Add Windows, macOS, Linux, and FreeBSD detection to .NET Standard 2 projects via extension methods.

CliUtilsLib

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

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
5.0.0-preview.1 35 6/19/2024
4.5.0 105 6/9/2024
4.4.1 66 6/9/2024
4.4.0 87 5/27/2024
4.3.0 78 5/20/2024
4.2.0 78 5/13/2024
4.1.0 88 5/8/2024
4.0.0 120 5/3/2024

## Changes since 4.4.0

### Additions
* Added ``IBigCollection`` Interface
* Added ``SarcasmText`` class - This will replace most Sarcasm Text string extensions in version 5.
* Added replacement method for ``GetFriendlyVersionToString``. The new method is ``ToFriendlyVersionString``
* Added ``Power`` extension methods for Float, Double, and Decimal. These wil replace the ``Pow`` extension methods and ``Power`` class.
* Added ``CubeRoot`` extension methods for Float, Double, and Decimal. These will replace the ``Cbrt`` extension methods.
* Added ``SquareRoot`` extension methods for Float, Double, and Decimal. These will replace the ``Sqrt`` extension methods.
* Added replacement ``Cube`` extension methods - These will function identically to the existing ``Cube`` extension methods but are in the same file and static class. The original extension methods will be removed in version 5.
* Added replacement ``Square`` extension methods - These will function identically to the existing ``Square`` extension methods but are in the same file and static class. The original extension methods will be removed in version 5.
* Added missing xml doc comments in the ``Median`` class.

### Changes
* Replaced usage of deprecated methods and classes with non-deprecated methods and classes
* Replaced ``Power`` method implmentations with wrappers around C#'s built in Math.Pow.

### Deprecations
* Deprecated the ``DeDuplicate`` class's ``FoundDuplicate`` method - This will be removed in version 5. Please use the ``Contains Duplicate`` method instead.
* Deprecated the ``Sum`` class - This will be removed in version 5. This is not being replaced. Please use C#'s built in LINQ extension method instead.
* Deprecated the ``Power`` class - This will be removed in version 5. Please use the Power extension methods instead.
* Deprecated the ``Root`` class - This will be removed in version 5. Please use the Root extension methods instead.
* Deprecated the Sarcasm Text String extension me thods - These will be removed in version 5. This has been replaced with the SarcasmText class.