コード例 #1
0
		public ConsoleTerminal(TerminalCommandExecutor executor)
		{
			if(executor == null)
				throw new ArgumentNullException("executor");

			_syncRoot = new object();
			_executor = executor;
		}
コード例 #2
0
        public ConsoleTerminal(TerminalCommandExecutor executor)
        {
            if (executor == null)
            {
                throw new ArgumentNullException("executor");
            }

            _syncRoot = new object();
            _executor = executor;
        }
コード例 #3
0
		public TerminalCommandContext(TerminalCommandExecutor executor, CommandLine commandLine, CommandTreeNode commandNode, object parameter, IDictionary<string, object> items = null) : base(executor, commandLine, commandNode, parameter, items)
		{
		}
コード例 #4
0
 public TerminalCommandContext(TerminalCommandExecutor executor, CommandLine commandLine, CommandTreeNode commandNode, object parameter, IDictionary <string, object> items = null) : base(executor, commandLine, commandNode, parameter, items)
 {
 }
コード例 #5
0
		public TerminalCommandContext(TerminalCommandExecutor executor, CommandExpression expression, CommandTreeNode commandNode, object parameter, IDictionary<string, object> extendedProperties = null) : base(executor, expression, commandNode, parameter, extendedProperties)
		{
		}
コード例 #6
0
 public ConsoleTerminal()
 {
     _syncRoot = new object();
     _executor = new TerminalCommandExecutor(this);
 }
コード例 #7
0
 public TerminalCommandContext(TerminalCommandExecutor executor, CommandExpression expression, CommandTreeNode commandNode, object parameter, IDictionary <string, object> extendedProperties = null) : base(executor, expression, commandNode, parameter, extendedProperties)
 {
 }
コード例 #8
0
		public ConsoleTerminal()
		{
			_syncRoot = new object();
			_executor = new TerminalCommandExecutor(this);
		}