/// <summary>
        /// Main entry point to configuration a <see cref="MessagingSettings"/> section.
        /// </summary>
        /// <param name="configurationSourceBuilder">The builder interface to extend.</param>
        /// <returns></returns>
        public static ILoggingConfigurationStart ConfigureLogging(this IConfigurationSourceBuilder configurationSourceBuilder)
        {
            if(configurationSourceBuilder == null) throw new ArgumentNullException("configurationSourceBuilder");

            MessagingSettings loggingSettings = new MessagingSettings();
            configurationSourceBuilder.AddSection(MessagingSettings.SectionName, loggingSettings);

            return new LoggingConfigurationBuilder(loggingSettings);
        }
 public LoggingConfigurationBuilder(MessagingSettings loggingSettings)
 {
     this.loggingSettings = loggingSettings;
     this.loggingSettings.SpecialTraceSources = new SpecialTraceSourcesData();
 }