public static void EnableInstallers(this EndpointConfiguration config, string username = null) { Guard.AgainstNull(nameof(config), config); if (username != null) { config.Settings.Set("Installers.UserName", username); } config.Settings.Set("Installers.Enable", true); } }