public SettingsRegistrationService(Assembly[] assemblies,
                                    Action<IConfigurationSetting> registerAsSingleton,
                                    bool allowEntriesInWebConfigThatDoNotHaveSettingsClasses,
                                    SettingValueConverter settingValueConverter,
                                    ISettingsReader settingsReader,
                                    ISettingKeyConvention[] settingKeyConventions)
 {
     _assemblies = assemblies;
     _registerAsSingleton = registerAsSingleton;
     _allowEntriesInWebConfigThatDoNotHaveSettingsClasses = allowEntriesInWebConfigThatDoNotHaveSettingsClasses;
     _settingValueConverter = settingValueConverter;
     _settingsReader = settingsReader;
     _settingKeyConventions = settingKeyConventions;
 }
 public SettingsRegistrationService(ITypeProvider typeProvider,
                                    Action <IConfigurationSetting> registerAsSingleton,
                                    bool allowEntriesInWebConfigThatDoNotHaveSettingsClasses,
                                    SettingValueConverter settingValueConverter,
                                    ISettingsReader settingsReader,
                                    ISettingKeyConvention[] settingKeyConventions)
 {
     _typeProvider        = typeProvider;
     _registerAsSingleton = registerAsSingleton;
     _allowEntriesInWebConfigThatDoNotHaveSettingsClasses = allowEntriesInWebConfigThatDoNotHaveSettingsClasses;
     _settingValueConverter = settingValueConverter;
     _settingsReader        = settingsReader;
     _settingKeyConventions = settingKeyConventions;
 }