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