internal ConfigServerBuilder(IServiceCollection serviceCollection) { ServiceCollection = serviceCollection; registry = new ConfigurationModelRegistry(); ServiceCollection.AddSingleton(registry); ServiceCollection.AddSingleton <IConfigurationModelRegistry>(registry); }
public ConfigurationService(IConfigurationSetService configurationSetService, ConfigurationModelRegistry registry) { this.configurationSetService = configurationSetService; this.registry = registry; }
public ConfigurationSetFactory(IConfigProvider configProvider, IOptionSetFactory optionSetFactory, ConfigurationModelRegistry registry) { this.configProvider = configProvider; this.optionSetFactory = optionSetFactory; this.registry = registry; }
public ConfigurationSetService(IConfigurationSetFactory factory, ICachingStrategy cachingStrategy, ConfigurationModelRegistry registry) { this.factory = factory; this.cachingStrategy = cachingStrategy; this.registry = registry; }
public OptionSetFactory(IServiceProvider serviceProvider, ConfigurationModelRegistry registry) { this.serviceProvider = serviceProvider; this.registry = registry; }