public static void License(this EndpointConfiguration config, string licenseText) { Guard.AgainstNullAndEmpty(nameof(licenseText), licenseText); Guard.AgainstNull(nameof(config), config); Logger.Info("Using license supplied via fluent API."); config.Settings.Set(LicenseReminder.LicenseTextSettingsKey, licenseText); }