protected virtual void OnErrorLogged(Guid errorId) { ErrorLogged?.Invoke(this, _errorId); }
/* private method being tested through the 'Log' public method. */ private void OnErrorLogged(Guid errorId) { ErrorLogged?.Invoke(this, errorId); }
/// <summary> /// Sends the error logged event to any registered listeners. /// </summary> /// <param name="message"> /// The message to send /// </param> public static void SendErrorEvent(string message) { ErrorLogged?.Invoke(null, new MessageLoggedEventArgs(message)); }
public virtual void OnErrorLogged(Guid _errorId) { ErrorLogged?.Invoke(this, _errorId); }
protected virtual void OnErrorLogged(Guid errorID) //Not Tested { ErrorLogged?.Invoke(this, errorID); }
public virtual void OnErrorLogged(Guid errorId) //Implementation detail { ErrorLogged?.Invoke(this, errorId); }