Skip to content

Instantly share code, notes, and snippets.

@luismts
Created October 15, 2018 03:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luismts/6937c64772e80802c2fd850a9c915881 to your computer and use it in GitHub Desktop.
Save luismts/6937c64772e80802c2fd850a9c915881 to your computer and use it in GitHub Desktop.
using Plugin.ValidationRules;
namespace ValidationRulesTest.ViewModels
{
public class Example1ViewModel
{
public Example1ViewModel()
{
Name = new ValidatableObject<string>();
}
public ValidatableObject<string> Name { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment