protected override async Task OnSuccessExecuted() { OperationResult ValidPassword = await _verifyPassword.Convert(Password.Password); if (ValidPassword.WasSuccessful == false) { if (ValidPassword.HadErrors) { OnCancelled(); return; } InvalidPasswordEntered?.Invoke(this, EventArgs.Empty); return; } OnSuccessful(new GenericEventArgs <OperationResult>(ValidPassword)); Dispose(); return; }
public void OnInvalidJoinPassword() { InvalidPasswordEntered?.Invoke(this, EventArgs.Empty); }