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; }
public ConsoleTerminal(ConsoleCommandContext commandContext) : base(commandContext) { this.commandContext = commandContext; }