Info
| Version: | 1.10.0 | 
| Author(s): | Viktor Mynkov | 
| Last Update: | Wednesday, November 11, 2020 | 
| .NET Fiddle: | Create the first Fiddle | 
| Project Url: | https://github.com/mnkvsoft/ArgValidation | 
| NuGet Url: | https://www.nuget.org/packages/ArgValidation | 
Install
Install-Package ArgValidation
                        dotnet add package ArgValidation
                        paket add ArgValidation
                        
                                ArgValidation Download (Unzip the "nupkg" after downloading)
                            
                        Dependencies
                                         .NETStandard 1.0 
                                        
                    - No dependencies. 
- No dependencies. 
- No dependencies. 
- No dependencies. 
Tags
 
                
Examples:
Arg.NotNull(() => model);
Arg.Validate(color, nameof(color))
.NotNullOrWhitespace()
.LengthInRange(2, 20);
// passangerCount is Nullable type
Arg.IfNotNull(passangerCount, nameof(passangerCount))
.Positive();.