Beispiel #1
0
        private void HandleInternalEngineError(object sender, InternalEngineErrorEventArgs e)
        {
            Log.Error(null, "Internal engine error");
            UserLog.Add(UserLog.Icon.Error, LogStrings.InternalEngineError);

            InternalEngineErrorReported.Raise(this);

            StopRecordingCommand.Execute(null);
        }
Beispiel #2
0
 protected virtual void OnInternalEngineErrorReported(EngineComputationException exception)
 {
     InternalEngineErrorReported?.Invoke(this, new InternalEngineErrorEventArgs(exception));
 }