AirTabInputServer.CloseHandler.SetCloseHandler C# (CSharp) Method

SetCloseHandler() public static method

public static SetCloseHandler ( System.Action handler ) : void
handler System.Action
return void
        public static void SetCloseHandler(Action handler)
        {
            SetConsoleCtrlHandler(new HandlerRoutine(ConsoleCtrlCheck), true);
            s_handler = handler;
        }