protected virtual void OnConfigurationReset(EventArgs e) { e ??= EventArgs.Empty; LoggerRepositoryConfigurationResetEventHandler configurationResetEvent = this.m_configurationResetEvent; if (configurationResetEvent != null) { configurationResetEvent(this, e); } }
/// <summary> /// Notify the registered listeners that the repository has had its configuration reset /// </summary> /// <param name="e">Empty EventArgs</param> /// <remarks> /// <para> /// Notify any listeners that this repository's configuration has been reset. /// </para> /// </remarks> protected virtual void OnConfigurationReset(EventArgs e) { if (e == null) { e = EventArgs.Empty; } LoggerRepositoryConfigurationResetEventHandler handler = m_configurationResetEvent; if (handler != null) { handler(this, e); } }