Exemple #1
0
        /// <summary>
        /// Applies the configuration.
        /// </summary>
        /// <param name="configurator">The host configurator.</param>
        /// <param name="configuration">The configuration section.</param>
        public static void ApplyConfiguration(this HostConfigurator configurator, IConfigurationSection configuration)
        {
            var options = configuration.Parse();

            configurator.ApplyOptions(options);
        }