Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.