Example #1
0
 /// <summary>
 /// Initializes the specified view model.
 /// </summary>
 /// <param name="viewModel">The view model.</param>
 public void Init(SignupPageGolfClubAdministrator1ViewModel viewModel)
 {
     this.ViewModel = viewModel;
     txtEmailAddress.TextChanged    += TxtEmailAddress_TextChanged;
     txtTelephoneNumber.TextChanged += TxtTelephoneNumber_TextChanged;
     txtPassword.TextChanged        += TxtPassword_TextChanged;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SignupPresenter" /> class.
 /// </summary>
 /// <param name="navigationService">The navigation service.</param>
 /// <param name="signupPage1">The signup page1.</param>
 /// <param name="signupPageGolfClubAdministrator1">The signup page golf club administrator1.</param>
 /// <param name="signupPageGolfClubAdministrator1ViewModel">The signup page golf club administrator1 view model.</param>
 /// <param name="golfClubClient">The golf club client.</param>
 public SignupPresenter(INavigationService navigationService, ISignupPage1 signupPage1,
                        ISignupPageGolfClubAdministrator1 signupPageGolfClubAdministrator1,
                        SignupPageGolfClubAdministrator1ViewModel signupPageGolfClubAdministrator1ViewModel,
                        IGolfClubClient golfClubClient)
 {
     this.NavigationService = navigationService;
     this.SignupPage1       = signupPage1;
     this.SignupPageGolfClubAdministrator1          = signupPageGolfClubAdministrator1;
     this.SignupPageGolfClubAdministrator1ViewModel = signupPageGolfClubAdministrator1ViewModel;
     this.GolfClubClient = golfClubClient;
 }