Exemplo n.º 1
0
        private void Register()
        {
            var email     = emailInputField.text;
            var password  = passwordInputField.text;
            var firstName = firstNameInputField.text;
            var lastName  = lastNameInputField.text;

            RegisterButtonClicked?.Invoke(email, password, firstName, lastName);
        }
Exemplo n.º 2
0
        private void OnRegisterButtonClicked()
        {
            var email               = emailInputField?.text;
            var password            = passwordInputField?.text;
            var confirmPassword     = confirmPasswordInputField?.text;
            var firstName           = firstNameInputField?.text;
            var lastName            = lastNameInputField?.text;
            var registrationDetails = new UIRegistrationDetails(
                email,
                password,
                confirmPassword,
                firstName,
                lastName);

            RegisterButtonClicked?.Invoke(registrationDetails);
        }
Exemplo n.º 3
0
 private void buttonRegister_Click(object sender, EventArgs e)
 {
     RegisterButtonClicked?.Invoke();
 }
Exemplo n.º 4
0
 private void OnRegisterButtonClicked()
 {
     RegisterButtonClicked?.Invoke();
 }