/// <summary> /// Sends a logger creation event to all registered listeners /// </summary> /// <param name="logger">The newly created logger</param> /// <remarks> /// Raises the logger creation event. /// </remarks> protected virtual void OnLoggerCreationEvent(Logger logger) { LoggerCreationEventHandler handler = m_loggerCreatedEvent; if (handler != null) { handler(this, new LoggerCreationEventArgs(logger)); } }
protected virtual void OnLoggerCreationEvent(Logger logger) { LoggerCreationEventHandler loggerCreatedEvent = this.m_loggerCreatedEvent; if (loggerCreatedEvent != null) { loggerCreatedEvent(this, new LoggerCreationEventArgs(logger)); } }