Jcd.Validations 1.1.7 Prefix Reserved

Install-Package Jcd.Validations -Version 1.1.7
dotnet add package Jcd.Validations --version 1.1.7
<PackageReference Include="Jcd.Validations" Version="1.1.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jcd.Validations --version 1.1.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Jcd.Validations, 1.1.7"
#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 Jcd.Validations as a Cake Addin
#addin nuget:?package=Jcd.Validations&version=1.1.7

// Install Jcd.Validations as a Cake Tool
#tool nuget:?package=Jcd.Validations&version=1.1.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Jcd.Validations

A helper class to aid in parameter validation in methods.

Example Constructor Argument Validations.

    public class Conductor
    {
        ...
        public Conductor(Helper helper, int min, int max, string bossName)
        {
            _helper = Argument.IsNotNull(helper, nameof(helper));
            _min = Argument.InRange(min, 1, 10, nameof(min));
            _max = Argument.InRange(max, _min, 10, nameof(max));
            _bossName = Argument.IsNotEmpty(bossName, nameof(bossName));
            ...

GitHub Build status CodeFactor Grade

MyGet Nuget

API Docs

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Jcd.Validations:

Package Downloads
Jcd.Reflection

A small library containing some commonly implemented reflection helpers.

Jcd.Formatting

A library to simplify implementing IFormatProvider and ICustomFormatter as well as arbitrary integer encoding (e.g. Base 31 is you please)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.7 306 10/12/2021
1.1.6 131 10/11/2021
1.1.4 132 10/11/2021
1.0.17 161 10/11/2021

Now targeting .net standard 1.0+