/// <summary> /// For test purpose only /// </summary> internal ConfigCatClient(IConfigService configService, ILogger logger, IRolloutEvaluator evaluator, IConfigDeserializer configDeserializer) { this.configService = configService; this.log = logger; this.configEvaluator = evaluator; this.configDeserializer = configDeserializer; }
public HttpConfigFetcher(Uri requestUri, string productVersion, ILogger logger, HttpClientHandler httpClientHandler, IConfigDeserializer deserializer, bool isCustomUri) { this.requestUri = requestUri; this.productVersion = productVersion; this.log = logger; this.httpClientHandler = httpClientHandler; this.deserializer = deserializer; this.isCustomUri = isCustomUri; ReInitializeHttpClient(); }
private ConfigCatClient(ConfigurationBase configuration) { if (configuration == null) { throw new ArgumentNullException(nameof(configuration)); } configuration.Validate(); this.log = configuration.Logger; this.configDeserializer = new ConfigDeserializer(this.log, JsonSerializer.Create()); this.configEvaluator = new RolloutEvaluator(this.log, this.configDeserializer); this.cacheParameters = new CacheParameters { ConfigCache = configuration.ConfigCache ?? new InMemoryConfigCache(), CacheKey = GetCacheKey(configuration) }; }
public ConfigManager(IConfigSerializer configSerializer, IConfigDeserializer configDeserializer) { this.configSerializer = configSerializer; this.configDeserializer = configDeserializer; }
internal DeveroomConfigurationLoader(IConfigDeserializer configDeserializer) { _configDeserializer = configDeserializer; }
public RolloutEvaluator(ILogger logger, IConfigDeserializer configDeserializer) { this.log = logger; this.configDeserializer = configDeserializer; }
public BuildCommand(ICompilerManager compilerManager, IConfigDeserializer configDeserializer) { this.compilerManager = compilerManager; this.configDeserializer = configDeserializer; }