RockFluid.ScissorsValidation 1.0.1

A validations library for automating both client-side and server-side validations.

Sample usage: Add the validator attributes to the properties of the data record class. These defines the validation rules.

   public class Employee
       [StringValidator("First Name", 5, 50, IsRequired = true)]
       public String FirstName { get; set; }

       [DoubleValidator("Rating", 0.0, 5.0, IsRequired = true)]
       public Single Rating { get; set; }

       [DateValidator("Date Employed", "2017-07-05")]
       public DateTime DateEmployed { get; set; }

To start the validation, call the Validate() function on the class instance that contains data to be validated.

var validation = RockFluid.ScissorValidations.Validator.Validate(p);

The validation result contains information if the validation found issues, with the list of validation results.

Refer to the wiki for how to configure in more detail:

Validate() overload without need for a mapping dictionary. This can only validate data already copied to the class object, thus cannot validate from the user interface, but can be useful for import sources.

Initial release.

Install-Package RockFluid.ScissorsValidation -Version 1.0.1
dotnet add package RockFluid.ScissorsValidation --version 1.0.1
<PackageReference Include="RockFluid.ScissorsValidation" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RockFluid.ScissorsValidation --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Initial nuget release.


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 History

Version Downloads Last updated
1.0.1 69 12/29/2020
1.0.0 462 1/9/2018