示例#1
0
文件: Shell.cs 项目: wilvk/HttpRepl
        public Shell(IShellState shellState)
        {
            shellState = shellState ?? throw new ArgumentNullException(nameof(shellState));

            KeyHandlers.RegisterDefaultKeyHandlers(shellState.InputManager);
            ShellState = shellState;
        }
示例#2
0
 public Shell(IShellState shellState)
 {
     KeyHandlers.RegisterDefaultKeyHandlers(shellState.InputManager);
     ShellState = shellState;
 }