private void OnLoginButtonClicked( UIAuthenticationDetails uiAuthenticationDetails) { var email = uiAuthenticationDetails.Email; var password = uiAuthenticationDetails.Password; if (authenticationValidator.IsEmptyEmailAddress(email, out var message) || authenticationValidator.IsInvalidEmailAddress(email, out message) || authenticationValidator.IsEmptyPassword(password, out message) || authenticationValidator.IsPasswordTooShort(password, out message)) { NoticeUtils.ShowNotice(message); } else { loginView?.DisableInteraction(); authenticatorInteractor.Login(uiAuthenticationDetails); } }