Light.GuardClauses 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Light.GuardClauses --version 1.1.0
                    
NuGet\Install-Package Light.GuardClauses -Version 1.1.0
                    
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="Light.GuardClauses" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Light.GuardClauses" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Light.GuardClauses" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Light.GuardClauses --version 1.1.0
                    
#r "nuget: Light.GuardClauses, 1.1.0"
                    
#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.
#addin nuget:?package=Light.GuardClauses&version=1.1.0
                    
Install Light.GuardClauses as a Cake Addin
#tool nuget:?package=Light.GuardClauses&version=1.1.0
                    
Install Light.GuardClauses as a Cake Tool

A lightweight library for expressive Guard Clauses with conditional compilation in C#.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (27)

Showing the top 5 NuGet packages that depend on Light.GuardClauses:

Package Downloads
Updatedge.net

C# wrapper for the updatedge API

Synnotech.Migrations.Core

Core implementation of a generic migration engine that can be adapted to any target system.

Light.ViewModels

Simplify your XAML applications with Light.ViewModels!

Synnotech.Linq2Db

Package Description

Light.DependencyInjection

The DI Container you always wanted.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Light.GuardClauses:

Repository Stars
ExtendedXmlSerializer/home
A configurable and eXtensible Xml serializer for .NET.
Version Downloads Last updated
13.0.0 1,735 3/9/2025
12.0.0 42,852 10/27/2024
11.0.0 216,925 11/16/2023
11.0.0-preview1 122 9/24/2023
10.3.0 9,432 10/9/2023
10.2.0 2,084 9/22/2023
10.1.0 13,707 8/6/2023
10.0.0 487,305 12/6/2021
9.0.0 122,169 12/6/2020
8.1.0 59,307 5/27/2020
8.0.1 22,349 3/26/2020
8.0.0 613 3/25/2020
7.0.0 44,307 7/13/2019
6.2.0 17,753 2/12/2019
6.1.0 21,033 11/18/2018
6.0.0 902 11/10/2018
5.0.1 59,686 8/3/2018
5.0.0 1,316 7/29/2018
4.0.0 1,431 7/10/2018
3.5.0 2,844 9/3/2017
3.4.0 1,081 8/27/2017
3.3.0 1,270 8/15/2017
3.2.0 1,087 8/13/2017
3.1.0 1,070 8/6/2017
3.0.0 1,488 7/23/2017
2.0.0 1,411 5/29/2017
1.3.0 1,148 4/12/2017
1.2.1 1,874 11/16/2016
1.2.0 3,318 7/25/2016
1.1.0 1,589 6/2/2016
1.0.0 1,163 6/1/2016
0.2.0 1,187 3/29/2016
0.1.0 1,471 3/23/2016

- COMPILE_ASSERTIONS is now automatically set when Light.GuardClasues is installed via NuGet
- added MustNotStartWith

Check out the history: https://github.com/feO2x/Light.GuardClauses/releases