protected virtual void OnConfigurationReloaded(LoggingConfigurationReloadedEventArgs e) { ConfigurationReloaded?.Invoke(this, e); }
private static void LogManager_ConfigurationReloaded(object sender, NLog.Config.LoggingConfigurationReloadedEventArgs e) { // Raise the event in a thread-safe manner using the ?. operator. ConfigurationReloaded?.Invoke(sender, e); }
public ApplicationEvents OnConfigurationReloaded() { ConfigurationReloaded?.Invoke(this, new EventArgs()); return(this); }