Created
October 15, 2018 04:35
-
-
Save luismts/a19f0a3b6a859991dee7721cc76a77c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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