Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : sels.objectvalidationframework

Framework for creating typed validation profiles using a fluent syntax. Features: - Typed validation profiles like AutoMapper - Fluent syntax for creating validation rules - Profiles can return a custom error message type - Automatically traverses the hierarchy of an object to validate everything when validation exist for the type (Custom typed properties and collections are detected) - Support for typed context objects that can be passed onto the validation profiles to provide the rules with more information (For example the lifecycle of the object, the old state in case of updates, ...) - Custom info objects for validation delegates that contain extra information about the value currently being validated (Like it's source, if the value is part of a collection, the parent hierarchy, ...) - Async support - Extension methods for common validation rules - Default error messages for extension methods when using String as error message type - Dependency injection through IValidator interface - Extension methods for validating IOptions instances Start by inheriting from Sels.ObjectValidationFramework.Profile.ValidationProfile<TError>

Registry - Homepage - JSON
purl: pkg:nuget/sels.objectvalidationframework
Keywords: Sels, Fluent, Validation, ValidationProfile, OptionsValidation
License: GPL-1.0+
Latest release: over 1 year ago
First release: over 2 years ago
Dependent packages: 8
Downloads: 27,280 total
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 20 days ago

    Loading...
    Readme
    Loading...