BudgetAnalyser.Statement.LoadFileController.RequestUserInputCommomPreparation C# (CSharp) Метод

RequestUserInputCommomPreparation() приватный Метод

private RequestUserInputCommomPreparation ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task
        private Task RequestUserInputCommomPreparation()
        {
            FileName = null;
            ExistingAccountNames = this.accountTypeRepository.ListCurrentlyUsedAccountTypes().ToList();
            SelectedExistingAccountName = ExistingAccountNames.First(a => a.IsSalaryAccount);

            this.dialogCorrelationId = Guid.NewGuid();
            var popRequest = new ShellDialogRequestMessage(BudgetAnalyserFeature.Transactions, this, ShellDialogType.OkCancel)
            {
                CorrelationId = this.dialogCorrelationId,
                Title = Title
            };

            this.fileSelectionTask?.Dispose();

            this.fileSelectionTask = new Task(() => { });
            MessengerInstance.Send(popRequest);
            return this.fileSelectionTask;
        }