private void LogPlatform_LogReceived(object sender, LogEventArgs e) { if (e.Priority >= this.MinPriority) { string output = this.SyntaxProvider.ParseOutput(e); var outputEvent = new OutputEvent(output); this.Events.Raise(outputEvent); } }
private void OnInput(object sender, InputEvent e) { string input = this.SyntaxProvider.ParseInput(e); var outputEvent = new OutputEvent(input); this.Events.Raise(outputEvent); }
private void OnOutput(object sender, OutputEvent e) { this.OnOutput(e.Message); }