BudgetAnalyser.LedgerBook.AddLedgerReconciliationController.ShowDialogCommon C# (CSharp) Method

ShowDialogCommon() private method

private ShowDialogCommon ( string title ) : void
title string
return void
        private void ShowDialogCommon(string title)
        {
            Canceled = false;
            List<Account> accountsToShow = this.accountTypeRepository.ListCurrentlyUsedAccountTypes().ToList();
            BankAccounts = accountsToShow.OrderBy(a => a.Name);
            SelectedBankAccount = null;
            this.dialogCorrelationId = Guid.NewGuid();
            var dialogRequest = new ShellDialogRequestMessage(BudgetAnalyserFeature.LedgerBook, this, ShellDialogType.OkCancel)
            {
                CorrelationId = this.dialogCorrelationId,
                Title = title,
                HelpAvailable = CreateMode
            };

            MessengerInstance.Send(dialogRequest);
        }
    }