dotnet add package netfx-Guard --version
NuGet\Install-Package netfx-Guard -Version
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="netfx-Guard" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add netfx-Guard --version
#r "nuget: netfx-Guard,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install netfx-Guard as a Cake Addin
#addin nuget:?package=netfx-Guard&version=

// Install netfx-Guard as a Cake Tool
#tool nuget:?package=netfx-Guard&version=

The only argument validation file you need, with full refactoring support and strong-typing.

 Guard.NotNull(() => value, value)
   () => stringValue, stringValue)

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (36)

Showing the top 5 NuGet packages that depend on netfx-Guard:

Package Downloads

Strong-typed static reflection via Reflect: // Void static method MethodInfo cw = Reflect.GetMethod( () => Console.WriteLine); // Instance void method MethodInfo mi = Reflect<IView>.GetMethod(v => v.Show); // Boolean returning instance method MethodInfo pi = Reflect<IViewModel> .GetMethod<bool>(v => v.Save);


Traverse an enumerable tree, depth or breadth first. Example: var dirs = new DirectoryInfo("C:\\") .Traverse(TraverseKind.BreadthFirst, dir => dir.EnumerateDirectories());


Provides the implementation of a reactive extensions event stream, allowing trending and analysis queries to be performed in real-time over the events pushed through the stream.


Provides the IEventStream interface of a reactive extensions stream, allowing trending and analysis queries to be performed in real-time over the events pushed through the stream, as well as flexible subscription models.


An implementation of WPF ICommand that allows passing delegates/lambdas for the implementation.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on netfx-Guard:

Repository Stars
The most popular and friendly mocking framework for .NET
A URI building helper library for ASP.NET Web API
Version Downloads Last updated 123,787 3/26/2013 1,201 3/25/2013
1.3.3 4,718 12/6/2012
1.3.2 8,139 8/6/2012
1.3.1 105,719 7/2/2011 15,342 6/15/2011 3,801 5/20/2011
1.2.0 35,941 2/9/2011