Validation.NotNull 1.5.8

dotnet add package Validation.NotNull --version 1.5.8
                    
NuGet\Install-Package Validation.NotNull -Version 1.5.8
                    
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="Validation.NotNull" Version="1.5.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Validation.NotNull" Version="1.5.8" />
                    
Directory.Packages.props
<PackageReference Include="Validation.NotNull" />
                    
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 Validation.NotNull --version 1.5.8
                    
#r "nuget: Validation.NotNull, 1.5.8"
                    
#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=Validation.NotNull&version=1.5.8
                    
Install Validation.NotNull as a Cake Addin
#tool nuget:?package=Validation.NotNull&version=1.5.8
                    
Install Validation.NotNull as a Cake Tool

Validation string, How To Use:

Validation TextBox, RichTextBox, ComboBox ...
Try
   Dim Value As String = Validation.NotNull.OfControlText(Textbox1, "Erro")
Catch Ex As Exception
    MsgBox(Ex.Message)
End Try

OfVariable

Try
   Dim t As String = TextBox1.text
   t = Validation.NotNull.OfVariable(t, "Erro")
Catch Ex As Exception
  MsgBox(Ex.Message)
End Try

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.8 1,121 11/29/2017
1.3.4 1,052 11/28/2017
1.0.0 1,157 11/23/2017

Validation string, How To Use:

Validation TextBox, RichTextBox, ComboBox ...
Try
   Dim Value As String = Validation.NotNull.OfControlText(Textbox1, "Erro")
Catch Ex As Exception
    MsgBox(Ex.Message)
End Try

OfVariable

Try
   Dim t As String = TextBox1.text
   t = Validation.NotNull.OfVariable(t, "Erro")
Catch Ex As Exception
  MsgBox(Ex.Message)
End Try