private void Run(object sender, EventArgs e) { MagnetoRunner.Run( sourceCode: CodeEditor.Text, runStateCallback: running => Dispatcher.InvokeAsync(this, SetRunState, running), exceptionHandler: HandleRunException); }
private void Stop(object sender, EventArgs e) { MagnetoRunner.StopRunningProcess(); }