Sels.ObjectValidationFramework
6.0.0-beta-000300
See the version list below for details.
dotnet add package Sels.ObjectValidationFramework --version 6.0.0-beta-000300
NuGet\Install-Package Sels.ObjectValidationFramework -Version 6.0.0-beta-000300
<PackageReference Include="Sels.ObjectValidationFramework" Version="6.0.0-beta-000300" />
paket add Sels.ObjectValidationFramework --version 6.0.0-beta-000300
#r "nuget: Sels.ObjectValidationFramework, 6.0.0-beta-000300"
// Install Sels.ObjectValidationFramework as a Cake Addin #addin nuget:?package=Sels.ObjectValidationFramework&version=6.0.0-beta-000300&prerelease // Install Sels.ObjectValidationFramework as a Cake Tool #tool nuget:?package=Sels.ObjectValidationFramework&version=6.0.0-beta-000300&prerelease
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>
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Sels.Core.Legacy (>= 1.0.0-beta-000300)
NuGet packages (8)
Showing the top 5 NuGet packages that depend on Sels.ObjectValidationFramework:
Package | Downloads |
---|---|
Sels.Core.Mediator
Library containing code for sending messages to other subscribing objects within the same process. Used by projects maintained here: https://github.com/Jenssels1998 |
|
Sels.SQL.QueryBuilder
Framework for creating sql queries using fluent builders. Uses a (somewhat) easy to extend expression system that gets compiled into SQL using compilers. Can be used for simple queries or more advanced queries (Joins, conditions (WHERE), sub queries, order by, group by, functions (MIN, AVG, ...), Union, case when then else, ...) Supports the following sql statements: - Insert - Update - Delete - Select - Common table expressions (CTE) - If, else if, else - Declare variable - Set variable Use IServiceCollection.AddSqlQueryProvider() or IServiceCollection.AddCachedSqlQueryProvider to inject ISqlQueryProvider or ICachedSqlQueryProvider to start building sql queries. Official compilers: - Sels.SQL.QueryBuilder.MySQL |
|
Sels.SQL.QueryBuilder.MySQL
MySQL compiler for Sels.SQL.QueryBuilder. Supports MySQL and MariaDB. Custom expressions: - SELECT FOR UPDATE - INSERT ON DUPLICATE KEY - SELECT LIMIT - RECURSIVE Cte - MariaDB RETURNING - NOW, UTC_TIMESTAMP, DATE_ADD, CONCACT functions Start creating queries using one of the following static helper methods: - Sels.SQL.QueryBuilder.MySQL.MySql.Insert(); - Sels.SQL.QueryBuilder.MySQL.MySql.Update(); - Sels.SQL.QueryBuilder.MySQL.MySql.Delete(); - Sels.SQL.QueryBuilder.MySQL.MySql.Select(); - Sels.SQL.QueryBuilder.MySQL.MySql.With(); - Sels.SQL.QueryBuilder.MySQL.MySql.If(); - Sels.SQL.QueryBuilder.MySQL.MySql.Set(); Use IServiceCollection.AddMySqlQueryProvider() or IServiceCollection.AddCachedMySqlQueryProvider to inject ISqlQueryProvider or ICachedSqlQueryProvider to start building MySQL queries. |
|
Sels.Core.Async
Library with components/services that make use of the TPL / Thread Pool. Used by projects maintained here: https://github.com/Jenssels1998 |
|
Sels.DistributedLocking.Memory
Locking provider using an in-memory store for inner process distributed locks. Provider can be added to the service container using the IServiceCollection.AddMemoryLockingProvider() extension method. Inject Sels.DistributedLocking.Provider.ILockingProvider to start placing distributed locks. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.0-beta-000343 | 122 | 11/6/2024 |
6.0.0-beta-000337 | 174 | 8/18/2024 |
6.0.0-beta-000331 | 152 | 6/25/2024 |
6.0.0-beta-000330 | 157 | 6/25/2024 |
6.0.0-beta-000325 | 194 | 4/26/2024 |
6.0.0-beta-000322 | 191 | 4/3/2024 |
6.0.0-beta-000321 | 175 | 4/1/2024 |
6.0.0-beta-000319 | 179 | 1/29/2024 |
6.0.0-beta-000318 | 170 | 1/28/2024 |
6.0.0-beta-000314 | 189 | 1/26/2024 |
6.0.0-beta-000313 | 189 | 1/20/2024 |
6.0.0-beta-000312 | 218 | 1/7/2024 |
6.0.0-beta-000311 | 223 | 1/3/2024 |
6.0.0-beta-000310 | 190 | 1/2/2024 |
6.0.0-beta-000309 | 221 | 12/28/2023 |
6.0.0-beta-000308 | 186 | 12/22/2023 |
6.0.0-beta-000307 | 200 | 12/8/2023 |
6.0.0-beta-000306 | 181 | 12/8/2023 |
6.0.0-beta-000301 | 205 | 10/22/2023 |
6.0.0-beta-000300 | 171 | 10/15/2023 |
6.0.0-beta-000299 | 161 | 10/15/2023 |
6.0.0-beta-000298 | 158 | 10/12/2023 |
6.0.0-beta-000297 | 183 | 9/18/2023 |
6.0.0-beta-000296 | 193 | 9/7/2023 |
6.0.0-beta-000295 | 177 | 9/6/2023 |
6.0.0-beta-000294 | 182 | 9/6/2023 |
6.0.0-beta-000293 | 207 | 9/6/2023 |
6.0.0-beta-000292 | 143 | 9/4/2023 |
6.0.0-beta-000291 | 118 | 9/4/2023 |
6.0.0-beta-000290 | 150 | 8/17/2023 |
6.0.0-beta-000287 | 145 | 8/15/2023 |
6.0.0-beta-000286 | 126 | 7/16/2023 |
6.0.0-beta-000281 | 128 | 5/14/2023 |
6.0.0-beta-000280 | 145 | 5/13/2023 |
6.0.0-beta-000279 | 137 | 5/13/2023 |
6.0.0-beta-000278 | 123 | 5/13/2023 |
6.0.0-beta-000277 | 123 | 5/13/2023 |
6.0.0-beta-000276 | 133 | 5/7/2023 |
6.0.0-beta-000275 | 139 | 4/28/2023 |
6.0.0-beta-000274 | 117 | 4/16/2023 |
6.0.0-beta-000273 | 120 | 4/16/2023 |
6.0.0-beta-000271 | 139 | 3/31/2023 |
6.0.0-beta-000270 | 144 | 3/25/2023 |
5.0.2 | 1,923 | 10/1/2022 |
5.0.2-beta-000265 | 183 | 9/24/2022 |
5.0.2-beta-000264 | 187 | 9/24/2022 |
5.0.2-beta-000263 | 185 | 9/23/2022 |
5.0.2-beta-000262 | 182 | 9/23/2022 |
5.0.2-beta-000261 | 168 | 9/23/2022 |
5.0.2-beta-000260 | 193 | 9/23/2022 |
5.0.2-beta-000259 | 187 | 9/23/2022 |
5.0.2-beta-000258 | 206 | 9/18/2022 |
5.0.1-beta-20220918-155627 | 224 | 9/18/2022 |
5.0.1-beta-20220918-155616 | 210 | 9/18/2022 |
5.0.1-beta-20220918-154726 | 195 | 9/18/2022 |
5.0.1-beta-000257 | 206 | 9/18/2022 |
5.0.0-beta-99 | 176 | 9/2/2022 |
5.0.0-beta-98 | 172 | 8/19/2022 |
5.0.0-beta-97 | 161 | 8/18/2022 |
5.0.0-beta-96 | 186 | 8/10/2022 |
5.0.0-beta-95 | 166 | 7/16/2022 |
5.0.0-beta-94 | 171 | 7/11/2022 |
5.0.0-beta-93 | 159 | 6/16/2022 |
5.0.0-beta-253 | 222 | 9/18/2022 |
5.0.0-beta-252 | 165 | 9/11/2022 |
5.0.0-beta-233 | 145 | 9/2/2022 |
5.0.0-beta-225 | 149 | 9/2/2022 |
5.0.0-beta-224 | 163 | 9/2/2022 |
5.0.0-beta-220 | 167 | 9/2/2022 |
5.0.0-beta-219 | 159 | 9/2/2022 |
5.0.0-beta-216 | 160 | 9/2/2022 |
5.0.0-beta-212 | 187 | 9/2/2022 |
5.0.0-beta-211 | 148 | 9/2/2022 |
5.0.0-beta-206 | 161 | 9/2/2022 |
5.0.0-beta-205 | 136 | 9/2/2022 |
5.0.0-beta-20220918-150347 | 209 | 9/18/2022 |
5.0.0-beta-20220918-150333 | 212 | 9/18/2022 |
5.0.0-beta-20220918-145408 | 230 | 9/18/2022 |
5.0.0-beta-196 | 154 | 9/2/2022 |
5.0.0-beta-194 | 164 | 9/2/2022 |
5.0.0-beta-193 | 165 | 9/2/2022 |
5.0.0-beta-192 | 158 | 9/2/2022 |
5.0.0-beta-190 | 149 | 9/2/2022 |
5.0.0-beta-188 | 161 | 9/2/2022 |
5.0.0-beta-179 | 179 | 9/2/2022 |
5.0.0-beta-178 | 148 | 9/2/2022 |
5.0.0-beta-167 | 152 | 9/2/2022 |
5.0.0-beta-165 | 150 | 9/2/2022 |
5.0.0-beta-161 | 160 | 9/2/2022 |
5.0.0-beta-160 | 168 | 9/2/2022 |
5.0.0-beta-157 | 151 | 9/2/2022 |
5.0.0-beta-155 | 174 | 9/2/2022 |
5.0.0-beta-146 | 146 | 9/2/2022 |
5.0.0-beta-145 | 143 | 9/2/2022 |
5.0.0-beta-140 | 139 | 9/2/2022 |
5.0.0-beta-138 | 156 | 9/2/2022 |
5.0.0-beta-132 | 175 | 9/2/2022 |
5.0.0-beta-130 | 150 | 9/2/2022 |
5.0.0-beta-126 | 170 | 9/2/2022 |
5.0.0-beta-125 | 170 | 9/2/2022 |
5.0.0-beta-120 | 175 | 9/2/2022 |
5.0.0-beta-118 | 143 | 9/2/2022 |
5.0.0-beta-115 | 162 | 9/2/2022 |
5.0.0-beta-114 | 163 | 9/2/2022 |
5.0.0-beta-113 | 161 | 9/2/2022 |
5.0.0-beta-112 | 145 | 9/2/2022 |
5.0.0-beta-109 | 147 | 9/2/2022 |
5.0.0-beta-107 | 160 | 9/2/2022 |
4.0.0 | 517 | 2/12/2022 |
4.0.0-beta-92 | 172 | 6/4/2022 |
4.0.0-beta-91 | 171 | 5/29/2022 |
4.0.0-beta-90 | 189 | 5/29/2022 |
4.0.0-beta-89 | 164 | 5/28/2022 |
4.0.0-beta-86 | 210 | 4/26/2022 |
4.0.0-beta-85 | 190 | 4/23/2022 |
4.0.0-beta-84 | 172 | 3/16/2022 |
4.0.0-beta-78 | 185 | 2/18/2022 |
4.0.0-beta-77 | 181 | 2/18/2022 |
4.0.0-beta-76 | 169 | 2/18/2022 |
4.0.0-beta-75 | 169 | 2/18/2022 |
4.0.0-beta-74 | 169 | 2/18/2022 |
4.0.0-beta-73 | 191 | 2/12/2022 |
3.0.0 | 373 | 12/5/2021 |
3.0.0-beta-72 | 413 | 12/11/2021 |
3.0.0-beta-71 | 205 | 12/9/2021 |
3.0.0-beta-70 | 421 | 12/9/2021 |
3.0.0-beta-69 | 378 | 12/9/2021 |
3.0.0-beta-67 | 403 | 12/9/2021 |
3.0.0-beta-66 | 390 | 12/9/2021 |
3.0.0-beta-65 | 371 | 12/9/2021 |
3.0.0-beta-64 | 370 | 12/9/2021 |
3.0.0-beta-63 | 354 | 12/9/2021 |
3.0.0-beta-62 | 350 | 12/9/2021 |
3.0.0-beta-61 | 352 | 12/9/2021 |
3.0.0-beta-59 | 208 | 12/8/2021 |
3.0.0-beta-58 | 220 | 12/8/2021 |
3.0.0-beta-53 | 217 | 12/6/2021 |
3.0.0-beta-52 | 205 | 12/6/2021 |
3.0.0-beta-42 | 204 | 12/6/2021 |
3.0.0-beta-41 | 213 | 12/6/2021 |
3.0.0-beta-40 | 208 | 12/6/2021 |
3.0.0-beta-39 | 221 | 12/5/2021 |
2.0.0 | 1,274 | 11/20/2021 |
2.0.0-beta-38 | 1,109 | 11/20/2021 |
2.0.0-beta-37 | 1,113 | 11/20/2021 |
1.0.0 | 491 | 10/23/2021 |
1.0.0-beta-1 | 365 | 10/23/2021 |