public PivotHandler(IMemoryCache cache, ILogger <GridHandler> logger, MetaDataHelper metaDataHelper, IPivotRepository pivotRepository, IConfiguration configuration) { _cache = cache; _logger = logger; _metaDataHelper = metaDataHelper; _pivotRepository = pivotRepository; _configuration = configuration; this.cubeCacheServerUrl = _configuration.GetValue <string>("cubeCacheServerUrl") ?? string.Empty; if (string.IsNullOrWhiteSpace(this.cubeCacheServerUrl)) { throw new Exception("missing required config setting : cubeCacheServerUrl"); } }
public GridHandler(IMemoryCache cache, ILogger <GridHandler> logger, MetaDataHelper metaDataHelper) { _cache = cache; _logger = logger; _metaDataHelper = metaDataHelper; }