예제 #1
0
        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");
            }
        }
예제 #2
0
 public GridHandler(IMemoryCache cache, ILogger <GridHandler> logger, MetaDataHelper metaDataHelper)
 {
     _cache          = cache;
     _logger         = logger;
     _metaDataHelper = metaDataHelper;
 }