Skip to content

Instantly share code, notes, and snippets.

@luismts
Created October 15, 2018 04:35
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/a19f0a3b6a859991dee7721cc76a77c0 to your computer and use it in GitHub Desktop.
Save luismts/a19f0a3b6a859991dee7721cc76a77c0 to your computer and use it in GitHub Desktop.
using Plugin.ValidationRules;
namespace ValidationRulesTest.Models
{
public class User
{
public User()
{
LastName = new ValidatableObject<string>();
Name = new ValidatableObject<string>();
Email = new ValidatableObject<string>();
}
public ValidatableObject<string> LastName { get; set; }
public ValidatableObject<string> Name { get; set; }
public ValidatableObject<string> Email { get; set; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment