PowerArgs.Cli.Dialog.Escape C# (CSharp) Method

Escape() private method

private Escape ( ) : void
return void
        private void Escape()
        {
            if (AllowEscapeToCancel)
            {
                Cancelled.Fire();
                ConsoleApp.Current.LayoutRoot.Controls.Remove(this);
            }
        }