netfx-Guard
1.2.0.4
See the version list below for details.
dotnet add package netfx-Guard --version 1.2.0.4
NuGet\Install-Package netfx-Guard -Version 1.2.0.4
<PackageReference Include="netfx-Guard" Version="1.2.0.4" />
paket add netfx-Guard --version 1.2.0.4
#r "nuget: netfx-Guard, 1.2.0.4"
// Install netfx-Guard as a Cake Addin
#addin nuget:?package=netfx-Guard&version=1.2.0.4
// Install netfx-Guard as a Cake Tool
#tool nuget:?package=netfx-Guard&version=1.2.0.4
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.Reactive.EventStream.Implementation
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. |
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
|