コード例 #1
0
        async Task <RecoveryOptionResult> NotConnectedDialog(NotConnectedUserError notConnectedUserError)
        {
            string action = null; // toDO;
            await _specialDialogManager.ShowPopup(new RequirementsPopupViewModel(UiTaskHandlerExtensions.ToCommand(
                                                                                     () => Cheat.PublishEvent(new DoLogin()))) {
                DisplayName  = "Action '" + action + "' requires connection",
                Message      = "Please connect first to perform this action",
                CommandTitle = "Connect"
            });

            // TODO: Connect and retry options
            return(RecoveryOptionResult.CancelOperation);
        }
コード例 #2
0
 public Task ShowAddRepository() => _specialDialogManager.ShowPopup(_factory.CreateAddRepository().Value);