Plugin.ValidationRules
1.5.0
See the version list below for details.
dotnet add package Plugin.ValidationRules --version 1.5.0
NuGet\Install-Package Plugin.ValidationRules -Version 1.5.0
<PackageReference Include="Plugin.ValidationRules" Version="1.5.0" />
paket add Plugin.ValidationRules --version 1.5.0
#r "nuget: Plugin.ValidationRules, 1.5.0"
// Install Plugin.ValidationRules as a Cake Addin #addin nuget:?package=Plugin.ValidationRules&version=1.5.0 // Install Plugin.ValidationRules as a Cake Tool #tool nuget:?package=Plugin.ValidationRules&version=1.5.0
Validation Rules Plugin for .NET MAUI, Xamarin, and Windows
Create and validate rules for your properties for all your apps!
Improve the quality of your data using validation rules. Validation rules verify that the data the user enters into the record meets the standards you specify before the user can save the record. A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value "True" or "False". Validation rules also include an error message to display to the user when the rule returns a value "False" due to an invalid value.
Documentation 📖
Get started by reading through the ValidationRules Plugin documentation. You can also add Validation Rule Template extension for Visual Studio to make the work much easier and faster.
Wiki
- Validation Rules for Xamarin and Windows (EN | ES)
- Validating Our Model (EN | ES)
- Validation Rule Template – Extension for Visual Studio (EN | ES)
- Plugin.ValidationRules 1.2 (EN | ES)
- Plugin.ValidationRules 1.3 (EN | ES)
- See more (EN | ES)
NuGet
- Available on NuGet: Plugin.ValidationRules
- Build status:
Platform Support
Platform | Version |
---|---|
.NET | 6.0+ |
.NET Standard | 2.0+ |
ValidationsRules or MyOwnImplementation
I get this question a lot, so here it is from a recent issue opened up. This plugin helps you maintain and better test your code in a scalable way by showing the results directly in the UI. This ensures the fastest, most secure, and reliable creation and editing validation rules per application. Additionally, it works with any Xamarin application, not just Xamarin.Forms.
Even if you do all the implementation of validation rules it will take a little time. And if you have to do several validations, sometimes it can be really hard.
To me that isn't as reliable as having an abstraction that does all the work for me.
Extension
Available on Visual Studio Marketplace: Validation Rule Template
Build status:
Contribution 🆒
Thanks you for your interest in contributing to ValidationRules plugin! In this section we'll outline what you need to know about contributing and how to get started.
Bug Fixes
Please browse open issues, if you're looking to fix something, it's possible that someone already reported it. Additionally you select any up-for-grabs
.
Pull requests
Please fill out the pull request template when you send one.
Want To Support This Project?
Just be active by submitting bugs, features, and sending those pull requests down!
Want to go further?
See what I have done.
License 📃
The MIT License (MIT) see License file.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.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
- No dependencies.
-
net6.0
- 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 | Downloads | Last updated |
---|---|---|
1.5.0.1 | 27,449 | 5/14/2022 |
1.5.0 | 1,239 | 4/11/2022 |
1.4.0.1 | 1,311 | 3/1/2022 |
1.4.0 | 926 | 2/19/2022 |
1.3.2 | 5,645 | 8/16/2021 |
1.3.1 | 1,436 | 7/1/2021 |
1.3.0 | 2,435 | 5/8/2021 |
1.2.2 | 1,906 | 1/10/2021 |
1.2.1 | 850 | 1/3/2021 |
1.2.0 | 838 | 1/1/2021 |
1.1.0 | 9,270 | 9/10/2018 |
1.0.0.1 | 1,229 | 9/3/2018 |
1.0.0 | 1,245 | 9/3/2018 |