Guards 2.1.19292.13-pre

.NET Standard 1.0 .NET Framework 4.5
This is a prerelease version of Guards.
NuGet\Install-Package Guards -Version 2.1.19292.13-pre
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.
dotnet add package Guards --version 2.1.19292.13-pre
<PackageReference Include="Guards" Version="2.1.19292.13-pre" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Guards --version 2.1.19292.13-pre
#r "nuget: Guards, 2.1.19292.13-pre"
#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 Guards as a Cake Addin
#addin nuget:?package=Guards&version=2.1.19292.13-pre&prerelease

// Install Guards as a Cake Tool
#tool nuget:?package=Guards&version=2.1.19292.13-pre&prerelease

This Guards project is a light-weight toolbox which helps you to protect your public interfaces against invalid parameters being passed over.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.0 netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81 wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on Guards:

Package Downloads

TypeConverter is a lightweight, portable class library which allows to convert between objects of different types. This library is shipped with some basic sample converters, however, you are free to write your own type converters and register them in the IConverterRegistry.


CrossPlatformLibrary.Settings is a plug-in for reading and writing of platform-independent application settings.


CrossPlatformLibrary.Geolocation is a plug-in for geo information handling. It enables cross-platform GPS functionality.


PlatformAdapter helps to adapt between platform-independent and platform-specific assemblies at runtime.


CrossPlatformLibrary.Device is a plug-in for reading platform-independent device information.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Guards:

Repository Stars
Computator.NET is a special kind of numerical software that is fast and easy to use but not worse than others feature-wise. It's features include: - Real and complex functions charts - Real and complex calculator - Real functions numerical calculations including different methods - Over 107 Elementary functions - Over 141 Special functions - Over 21 Matrix functions and operations - Scripting language with power to easy computations including matrices - You can declare your own custom functions with scripting language
Version Downloads Last updated
2.1.19292.13-pre 48,415 10/19/2019
2.1.19292.12 49,562 10/19/2019
2.1.19292.11-pre 322 10/19/2019
2.1.19292.8-pre 323 10/19/2019
2.1.19292.7-pre 309 10/19/2019
2.1.19292.6-pre 320 10/19/2019
2.0.19018.1-pre 761 1/18/2019
2.0.18298.2 9,757 10/25/2018
2.0.18298.1-pre 728 10/25/2018
2.0.18290.6 838 10/17/2018
2.0.18290.3 830 10/17/2018
1.0.15 1,590 6/27/2018
1.0.14 11,565 12/13/2016
1.0.13 2,722 9/13/2016
1.0.12 1,065 9/9/2016
1.0.11 6,941 5/1/2016
1.0.10 20,815 11/14/2015
1.0.9 1,097 11/13/2015
1.0.8 1,227 10/12/2015
1.0.7 1,356 10/11/2015
1.0.6 1,034 10/11/2015
1.0.5 1,070 10/11/2015
1.0.4 1,152 10/10/2015
1.0.3 2,440 9/20/2015
1.0.2 1,111 9/18/2015
1.0.1 1,092 9/17/2015
1.0.0 5,701 9/16/2015

- New Nuget Guards.Source which compiles in your target project
- Support for .NET 3.5 and 4.0 depricated
- Fix wrong exception message in ArgumentIsTrue and ArgumentIsFalse

- New project structure
- Support for .NET Standard 2.0

- Support for .NET Standard 1.0
- Support for Silverlight depricated

- Update AssemblyInfos

- Strong-name signing of all Guards.dll assemblies

- Added new Guard.ArgumentCondition
- Added Guard.ArgumentHasLength, ArgumentHasMinLength and ArgumentHasMaxLength without property expressions
- Platform-specific compilation for .Net Framework 3.5, 4.5 and Silverlight 5

- Issue resolve: Visual Studio 2013 could not add PCL NuGet package to compatible project due to dnxcore50 dependency
- Internal refactoring