Skip to content

sethnav/DataAnnotationsValidatorRecursive

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DataAnnotationsValidatorRecursive

Multi-targeting cross-platform validator library pointing at .netstandard 2.0 and .net framework 4.7.

Inspired by DataAnnotationsValidatorRecursive owned by @reustmd

  • The recursiveness algorithm has been rewritten.

  • Added cache to hold properties info by type

  • Included as part of the member name

    • the zero-based index of the objects contained in enumerations

      • Child.GrandChildren[1].PropertyA
    • the key-based index of the objects contained in a enumeration of KeyValuePair<,> type

      • DataList[0][Index=1, Key="key1"]
  • Improved unit tests

  • Enhanced code with some handy features of the latest c# version

About

New multi-targeting cross platform Validator using DataAnnotations to validate your entire object graph.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%