public ConsoleTerminal(TerminalCommandExecutor executor)
		{
			if(executor == null)
				throw new ArgumentNullException("executor");

			_syncRoot = new object();
			_executor = executor;
		}
        public ConsoleTerminal(TerminalCommandExecutor executor)
        {
            if (executor == null)
            {
                throw new ArgumentNullException("executor");
            }

            _syncRoot = new object();
            _executor = executor;
        }
		public TerminalCommandContext(TerminalCommandExecutor executor, CommandLine commandLine, CommandTreeNode commandNode, object parameter, IDictionary<string, object> items = null) : base(executor, commandLine, commandNode, parameter, items)
		{
		}
 public TerminalCommandContext(TerminalCommandExecutor executor, CommandLine commandLine, CommandTreeNode commandNode, object parameter, IDictionary <string, object> items = null) : base(executor, commandLine, commandNode, parameter, items)
 {
 }
		public TerminalCommandContext(TerminalCommandExecutor executor, CommandExpression expression, CommandTreeNode commandNode, object parameter, IDictionary<string, object> extendedProperties = null) : base(executor, expression, commandNode, parameter, extendedProperties)
		{
		}
 public ConsoleTerminal()
 {
     _syncRoot = new object();
     _executor = new TerminalCommandExecutor(this);
 }
Esempio n. 7
0
 public TerminalCommandContext(TerminalCommandExecutor executor, CommandExpression expression, CommandTreeNode commandNode, object parameter, IDictionary <string, object> extendedProperties = null) : base(executor, expression, commandNode, parameter, extendedProperties)
 {
 }
		public ConsoleTerminal()
		{
			_syncRoot = new object();
			_executor = new TerminalCommandExecutor(this);
		}