PowerArgs.Cli.Page.Load C# (CSharp) Method

Load() private method

private Load ( ) : void
return void
        internal void Load()
        {
            appResizeSubscription = Application.LayoutRoot.SubscribeUnmanaged(nameof(ConsoleControl.Bounds), HandleResize);
            Application.FocusManager.GlobalKeyHandlers.PushForLifetime(ConsoleKey.Escape, null, EscapeKeyHandler, this.LifetimeManager);
            Application.FocusManager.GlobalKeyHandlers.PushForLifetime(ConsoleKey.Backspace, null, BackspaceHandler, this.LifetimeManager);
            OnLoad();
            if (Loaded != null) Loaded();
        }