예제 #1
0
 public ConsoleTerminal(ICremaHost cremaHost, ConsoleCommandContext commandContext)
     : base(commandContext)
 {
     this.cremaHost          = cremaHost;
     this.cremaHost.Opened  += (s, e) => this.IsEnabled = true;
     this.cremaHost.Closing += (s, e) => this.IsEnabled = false;
     this.commandContext     = commandContext;
 }
예제 #2
0
 public ConsoleTerminal(ConsoleCommandContext commandContext)
     : base(commandContext)
 {
     this.commandContext = commandContext;
 }