public void Init(CommandHistoryManager mgr)
        {
            tbName.SelectAllTextOnFocus = true;

            _mgr = mgr;

            BindRecent();
        }
Ejemplo n.º 2
0
 public ConsoleManager(Blackboard blk, Kernel kernel, ConsoleLogWriter log)
 {
     this.kernel = kernel;
     this.blackboard = blk;
     this.log = log;
     this.currentLine = String.Empty;
     this.tabSw = new Stopwatch();
     this.firstTab = false;
     this.history = new CommandHistoryManager();
     this.completionTree = new CompletionTree();
     this.kernel.ConsoleManager = this;
     this.kernel.FillCompletionTree(this.completionTree);
 }
Ejemplo n.º 3
0
 public void SetUp()
 {
     _testObj = new CommandHistoryManager();
 }
Ejemplo n.º 4
0
 public void SetUp()
 {
     _historyFile = new FileInfo(Path.GetTempFileName());
     _historyManager = new CommandHistoryManager(_historyFile);
     _historyManager.Init();
 }