netfx-Guard
1.3.3.2
dotnet add package netfx-Guard --version 1.3.3.2
NuGet\Install-Package netfx-Guard -Version 1.3.3.2
<PackageReference Include="netfx-Guard" Version="1.3.3.2" />
<PackageVersion Include="netfx-Guard" Version="1.3.3.2" />
<PackageReference Include="netfx-Guard" />
paket add netfx-Guard --version 1.3.3.2
#r "nuget: netfx-Guard, 1.3.3.2"
#:package netfx-Guard@1.3.3.2
#addin nuget:?package=netfx-Guard&version=1.3.3.2
#tool nuget:?package=netfx-Guard&version=1.3.3.2
The only argument validation file you need, with full refactoring support and strong-typing.
Examples:
Guard.NotNull(() => value, value)
Guard.NotNullOrEmpty(
() => stringValue, stringValue)
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 |
|---|---|
|
netfx-Reflector
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); |
|
|
netfx-System.Collections.Generic.IEnumerable.Traverse
Traverse an enumerable tree, depth or breadth first. Example: var dirs = new DirectoryInfo("C:\\") .Traverse(TraverseKind.BreadthFirst, dir => dir.EnumerateDirectories()); |
|
|
netfx-Patterns.EventSourcing
Provides the core APIs to implement the event sourcing pattern and an application event bus. |
|
|
netfx-System.AmbientSingleton
Provides an easy way to implement the singleton (anti?) pattern so that it is ambient-safe, propagates with a call context and can be overriden per ambient (i.e. in tests). |
|
|
netfx-System.IO.Packaging.StreamUnpack
Allows easy unpacking of contents from an Open Packaging Conventions (OPC) stream such as OOXML, VSIX, NuGet nupkg, etc. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on netfx-Guard:
| Repository | Stars |
|---|---|
|
moq/moq.spikes
The most popular and friendly mocking framework for .NET
|
|
|
ploeh/Hyprlinkr
A URI building helper library for ASP.NET Web API
|