Pitcher 2.1.1

dotnet add package Pitcher --version 2.1.1                
NuGet\Install-Package Pitcher -Version 2.1.1                
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="Pitcher" Version="2.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Pitcher --version 2.1.1                
#r "nuget: Pitcher, 2.1.1"                
#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 Pitcher as a Cake Addin
#addin nuget:?package=Pitcher&version=2.1.1

// Install Pitcher as a Cake Tool
#tool nuget:?package=Pitcher&version=2.1.1                

Pitcher is helper library to simplify throwing exceptions and make methods easier to inline by reducing code size.

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 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 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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Pitcher:

Package Downloads
AtleX.HaveIBeenPwned

AtleX.HaveIBeenPwned is a fully async and super fast .NET Standard client library for HaveIBeenPwned.com.

AtleX.DependencyInjection.Modules

AtleX.DependencyInjection.ServiceRegistration

AtleX.DependencyInjection.Modules.AspNetCore

AtleX.DependencyInjection.ServiceRegistration.AspNetCore

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.1 117,636 6/9/2020
2.1.0 2,949 9/13/2019
2.0.0 594 8/18/2019
1.4.0 1,367 5/19/2019
1.3.0 1,309 3/31/2019
1.2.0 1,754 10/14/2018
1.1.0 795 8/25/2018
1.0.0 927 6/23/2018
1.0.0-beta4 779 6/19/2018
1.0.0-beta3 749 6/12/2018
1.0.0-beta2 771 6/11/2018
1.0.0-beta1 767 6/11/2018

2.1.1:
     - [Feature] Enabled deterministic builds (#15)
     2.1.0:
     - [Feature] Use "is null" instead of "== null" for null checks (#10)
     - [Feature] Add Throw.ArgumentOutOfRange.WhenNegativeNumber() to throw an ArgumentOutOfRangeException when a number is less than zero (#11)
     - [Feature] Add Throw.ArgumentOutOfRange.WhenPositiveNumber() to throw an ArgumentOutOfRangeException when a number is zero or more (#12)
     - [Feature]] Add Throw.ArgumentOutOfRange.WhenLessThan<T>() where T is IComparable<T> to throw an ArgumentOutOfRangeException when the argument is less than the specified value (#13)
     - [Feature]] Add Throw.ArgumentOutOfRange.WhenMoreThan<T>() where T is IComparable<T> to throw an ArgumentOutOfRangeException when the argument is more than the specified value (#14)
     2.0.0:
     - [Breaking] Strong-named the assembly (#9)
     - [Breaking] Moved to a single NETSTANDARD2.0 TFM (#5)
     - [Deprecated] Throw.ArgumentNull.WhenNull(string, string) and Throw.ArgumentNull.WhenNull(string, string, string) are marked as obsolete (#7)
     - [Feature] Added Throw.ArgumentNull.WhenNullOrEmpty(string, string) and Throw.ArgumentNull.WhenNullOrEmpty(string, string, string) to throw an ArgumentNullException on null or empty strings (#7)
     - [Feature] Added Throw.ArgumentNull.WhenNullOrEmpty<T>(IEnumerable<T>, string) and Throw.ArgumentNull.WhenNullOrEmpty<T>(IEnumerable<T>, string, string) to throw an ArgumentNullException on null or empty enumerables (#6)
     1.4.0:
     - [Feature] Moved from SourceLink with embedded PDB to a .snupkg on NuGet.org for debugging (#3)
     - [Feature] Added overloads for Throw.ArgumentNull.WhenNull() for strings (#4)
     1.3.0:
     - [Feature] Added Throw.When(bool, Func<Exception>)
     1.2.0:
     - [Feature] Enabled SourceLink support (#1)
     1.1.0:
     - [Fix] Removed expensive null check on arguments in Throw.This() and Throw.When()