Created
June 1, 2020 22:08
-
-
Save Char0394/7e391ec866e1629cb427a5864a9142db to your computer and use it in GitHub Desktop.
This file contains 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
public class RegisterPageViewModel: INotifyPropertyChanged | |
{ | |
public ValidatableObject<string> FirstName { get; set; } = new ValidatableObject<string>(); | |
public ValidatableObject<string> LastName { get; set; } = new ValidatableObject<string>(); | |
public ValidatableObject<DateTime> BirthDay { get; set; } = new ValidatableObject<DateTime>() { Value = DateTime.Now }; | |
public ValidatableObject<string> PhoneNumber { get; set; } = new ValidatableObject<string>(); | |
public ValidatablePair<string> Email { get; set; } = new ValidatablePair<string>(); | |
public ValidatablePair<string> Password { get; set; } = new ValidatablePair<string>(); | |
public ValidatableObject<bool> TermsAndCondition { get; set; } = new ValidatableObject<bool>(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment