Esempio n. 1
0
        //private IntegrationService _integrationService;

        public ContextSetDiscoveryService(DonutContext ctx, IServiceProvider serviceProvider)
        {
            _context            = ctx;
            _setFinder          = new CacheSetFinder();
            _setSource          = new CacheSetSource();
            _integrationService = (IIntegrationService)serviceProvider.GetService(typeof(IIntegrationService));
        }
Esempio n. 2
0
 public IReadOnlyList <DataSetProperty> FindDataSets(DonutContext context)
 => _dataSetCache.GetOrAdd(context.GetType(), FindDataSets);
Esempio n. 3
0
 public virtual IReadOnlyList <CacheSetProperty> FindSets(DonutContext context)
 => _cache.GetOrAdd(context.GetType(), FindSets);