NetEvolve.Arguments
1.1.0
Prefix Reserved
See the version list below for details.
dotnet add package NetEvolve.Arguments --version 1.1.0
NuGet\Install-Package NetEvolve.Arguments -Version 1.1.0
<PackageReference Include="NetEvolve.Arguments" Version="1.1.0" />
<PackageVersion Include="NetEvolve.Arguments" Version="1.1.0" />
<PackageReference Include="NetEvolve.Arguments" />
paket add NetEvolve.Arguments --version 1.1.0
#r "nuget: NetEvolve.Arguments, 1.1.0"
#:package NetEvolve.Arguments@1.1.0
#addin nuget:?package=NetEvolve.Arguments&version=1.1.0
#tool nuget:?package=NetEvolve.Arguments&version=1.1.0
NetEvolve.Arguments
Provides a set of backward compatible argument throw helper methods added in the latest .NET versions.
Especially intended for projects with multiple TargetFrameworks, for usage, standardization and maintainability.
Method Overview
The following methods are currently provided.
ThrowIfGreaterThan
Compatibility method to ArgumentOutOfRangeException.ThrowIfGreaterThan<T>(T, T, String), which was introduced with .NET 8
ThrowIfGreaterThanOrEqual
Compatibility method to ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual<T>(T, T, String), which is part of the framework since .NET 8.
ThrowIfLessThan
Compatibility method to ArgumentOutOfRangeException.ThrowIfLessThan<T>(T, T, String), which is part of the framework since .NET 8.
ThrowIfLessThanOrEqual
Compatibility method to ArgumentOutOfRangeException.ThrowIfLessThanOrEqual<T>(T, T, String), which is part of the framework since .NET 8.
ThrowIfNull
Compatibility method to ArgumentNullException.ThrowIfNull(Object, String), which is part of the framework since .NET 8.
ThrowIfNullOrEmpty
Compatibility method to ArgumentException.ThrowIfNullOrEmpty(String, String), which is part of the framework since .NET 8.
ThrowIfNullOrWhiteSpace
Compatibility method to ArgumentException.ThrowIfNullOrWhiteSpace(String, String), which is part of the framework since .NET 8.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 is compatible. 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 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.NETStandard 2.0
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on NetEvolve.Arguments:
| Package | Downloads |
|---|---|
|
NetEvolve.Extensions.Tasks
This library provides simple extension methods for `Task`, `Task<T>`, `ValueTask` and `ValueTask<T>`. |
|
|
NetEvolve.Guard
Basic input validation via the `Ensure`-class throws an `ArgumentException`, `ArgumentNullException` or other Exception types, if the conditions are not met. The second parameter `parameterName` from `Ensure.That(T value, string? parameterName = default!)` is optional and is automatically populated by .NET, based on the `CallerArgumentExpressionAttribute` functionality. |
|
|
NetEvolve.Extensions.Strings
Library with common `string` extension methods for easy reuse. |
|
|
NetEvolve.Logging.XUnit
Extensions for `ILogger` implementations to log messages to xUnit test output. |
|
|
NetEvolve.FluentValue
The fluent value validation library provides a set of fluent interfaces to validate values. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.1.0 | 1,232 | 1/11/2026 |
| 3.0.0 | 7,901 | 12/31/2025 |
| 2.0.17 | 8,999 | 11/30/2025 |
| 2.0.0 | 6,974 | 11/20/2025 |
| 1.3.134 | 3,060 | 10/22/2025 |
| 1.3.84 | 10,552 | 5/5/2025 |
| 1.3.77 | 526 | 5/1/2025 |
| 1.3.68 | 12,838 | 4/8/2025 |
| 1.3.43 | 5,567 | 2/2/2025 |
| 1.3.37 | 1,342 | 1/29/2025 |
| 1.3.0 | 5,305 | 12/16/2024 |
| 1.2.168 | 3,969 | 11/28/2024 |
| 1.2.100 | 7,205 | 9/11/2024 |
| 1.2.90 | 1,224 | 8/26/2024 |
| 1.2.50 | 5,586 | 6/23/2024 |
| 1.2.46 | 438 | 6/18/2024 |
| 1.2.12 | 5,853 | 5/21/2024 |
| 1.2.11 | 210 | 5/21/2024 |
| 1.2.0 | 323 | 4/26/2024 |
| 1.1.9 | 1,729 | 4/8/2024 |
| 1.1.3 | 1,698 | 4/5/2024 |
| 1.1.0 | 311 | 4/4/2024 |
| 1.0.123 | 3,202 | 2/17/2024 |
| 1.0.88 | 4,163 | 1/3/2024 |
| 1.0.65 | 5,243 | 11/17/2023 |
| 1.0.58 | 1,055 | 11/15/2023 |
| 1.0.8 | 3,956 | 8/29/2023 |
| 1.0.6 | 391 | 8/29/2023 |
| 1.0.5 | 597 | 8/28/2023 |