/// <summary> /// Applies the configuration. /// </summary> /// <param name="configurator">The host configurator.</param> /// <param name="configuration">The configuration.</param> public static void ApplyConfiguration(this HostConfigurator configurator, IConfiguration configuration) => configurator.ApplyConfiguration(configuration.GetTopshelfSection());