Public. Library. vMvvm
A cross framework portable and lightweight MVVM library. vMvvm is portable MVVM library that works across .NET Framework 4.5, Windows 8, Windows Phone 8.1, Windows Phone Silverlight 8, Xamarin.Android, and Xamarin.iOS. Contains independent unobtrusive validator using validation attribute that can be extended to fit your purpose.
See the version list below for details.
Install-Package MyriaTechnologies.Public.Library.vMvvm -Version 1.0.1
dotnet add package MyriaTechnologies.Public.Library.vMvvm --version 1.0.1
<PackageReference Include="MyriaTechnologies.Public.Library.vMvvm" Version="1.0.1" />
paket add MyriaTechnologies.Public.Library.vMvvm --version 1.0.1
Just extends the view model base class and to add validation, use the ValidationAttribute and its derivations on the property you want to add the validation to.
To extend your own validation, derives from ValidationAttribute.
To signal invalidation of a model, add Invalidate attribute to the property.
This package has no dependencies.