public void RegisterSettings(IOrganizationSettingsRegistry registry) { registry.RegisterSetting(StringKey, Section, "Testing string", OrganizationSettingType.String); registry.RegisterSetting(NumberKey, Section, "Testing number", OrganizationSettingType.Number); registry.RegisterSetting(UrlKey, Section, "Testing URL", OrganizationSettingType.Url); registry.RegisterSetting(EmailKey, Section, "Testing email", OrganizationSettingType.Email); registry.RegisterSetting(BooleanKey, Section, "Testing boolean", OrganizationSettingType.Boolean); }
public OrganizationSettingsRegistryInitializer( IOrganizationSettingsRegistry registry, IEnumerable <IOrganizationSettingsRegistryComponent> components) { _registry = registry ?? throw new ArgumentNullException(nameof(registry)); _components = components?.ToArray() ?? throw new ArgumentNullException(nameof(components)); }
public void RegisterSettings(IOrganizationSettingsRegistry registry) { registry .RegisterSetting(ZoomConstants.ZoomApiKeySettingKey, ZoomConstants.ZoomSectionName, ZoomConstants.ZoomApiKeySettingDescription, OrganizationSettingType.String); registry .RegisterSetting(ZoomConstants.ZoomApiSecretSettingKey, ZoomConstants.ZoomSectionName, ZoomConstants.ZoomApiSecretSettingDescription, OrganizationSettingType.String); }
public void RegisterSettings(IOrganizationSettingsRegistry registry) { registry .RegisterSetting(PowerOfficeConstants.ApplicationKey, PowerOfficeConstants.SectionName, PowerOfficeConstants.ApplicationKeyDescription, OrganizationSettingType.String); registry .RegisterSetting(PowerOfficeConstants.ClientKey, PowerOfficeConstants.SectionName, PowerOfficeConstants.ClientKeyDescription, OrganizationSettingType.String); }
public OrganizationSettingsController( IOrganizationSettingsCache organizationSettingsCache, IOrganizationSettingsManagementService organizationSettingsManagementService, IOrganizationSettingsRegistry organizationSettingsRegistry, IOrganizationRetrievalService organizationRetrievalService, IOrganizationAccessControlService organizationAccessControlService) { _organizationSettingsCache = organizationSettingsCache ?? throw new ArgumentNullException(nameof(organizationSettingsCache)); _organizationSettingsManagementService = organizationSettingsManagementService ?? throw new ArgumentNullException(nameof(organizationSettingsManagementService)); _organizationSettingsRegistry = organizationSettingsRegistry ?? throw new ArgumentNullException(nameof(organizationSettingsRegistry)); _organizationRetrievalService = organizationRetrievalService ?? throw new ArgumentNullException(nameof(organizationRetrievalService)); _organizationAccessControlService = organizationAccessControlService ?? throw new ArgumentNullException(nameof(organizationAccessControlService)); }
public OrganizationSettingsRegistryTests() { _registry = new OrganizationSettingsRegistry(); }
public void RegisterSettings(IOrganizationSettingsRegistry registry) { registry.RegisterSettings <OrganizationSmtpSettings>(); }