Exemplo n.º 1
0
 public void OnCriticalError(string code, string message, string currentFile, long currentPosition)
 {
     CriticalError?.Invoke(code, message, currentFile, currentPosition);
 }
Exemplo n.º 2
0
 public void OnCriticalError(string code, string message, string currentFile, long currentPosition)
 {
     Console.WriteLine($"[{HostIdentifier}][{nameof(OnCriticalError)}] {message} (code: {code}, current file: {currentFile}, currentPosition: {currentPosition})");
     CriticalError?.Invoke(code, message, currentFile, currentPosition);
 }
Exemplo n.º 3
0
 public void OnCriticalError(string msg)
 {
     CriticalError?.Invoke(msg);
 }
Exemplo n.º 4
0
 void IXAudio2EngineCallback.OnCriticalError(int error)
 {
     CriticalError?.Invoke(this, new XAudio2CriticalErrorEventArgs(error));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Raises the critical error event
 /// </summary>
 /// <param name="e">the arguments for this event</param>
 protected virtual void OnCriticalError(CriticalErrorEventArgs e)
 {
     CriticalError?.Invoke(this, e);
 }