BudgetAnalyser.LedgerBook.LedgerRemarksController.OnShellDialogResponseReceived C# (CSharp) Метод

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

private OnShellDialogResponseReceived ( ShellDialogResponseMessage message ) : void
message BudgetAnalyser.ShellDialog.ShellDialogResponseMessage
Результат void
        private void OnShellDialogResponseReceived(ShellDialogResponseMessage message)
        {
            if (!message.IsItForMe(this.dialogCorrelationId))
            {
                return;
            }

            if (!IsReadOnly)
            {
                this.reconciliationService.UpdateRemarks(LedgerEntryLine, Remarks);
            }

            LedgerEntryLine = null;
            Remarks = null;

            EventHandler handler = Completed;
            handler?.Invoke(this, EventArgs.Empty);
        }
    }