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