Example #1
0
 protected virtual void OnConfigurationReloaded(LoggingConfigurationReloadedEventArgs e)
 {
     ConfigurationReloaded?.Invoke(this, e);
 }
Example #2
0
 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);
 }
Example #3
0
 public ApplicationEvents OnConfigurationReloaded()
 {
     ConfigurationReloaded?.Invoke(this, new EventArgs());
     return(this);
 }