public QpUrlResolver( ICacheProvider cacheProvider, IMetaInfoRepository metaInfoRepository, QpSiteStructureCacheSettings qpSchemeSettings) { _cacheProvider = cacheProvider; _metaInfoRepository = metaInfoRepository; _qpSchemeSettings = qpSchemeSettings; }
public QpDataProvider( IQpDbConnector qpDbConnector, IQpMetadataManager qpMetadataManager, IQpContentManager qpContentManager, IMetaInfoRepository metaInfoRepository, ILogger <QpDataProvider> logger) { _qpDbConnector = qpDbConnector; _qpMetadataManager = qpMetadataManager; _qpContentManager = qpContentManager; _metaInfoRepository = metaInfoRepository; _logger = logger; }
public SettingsProvider( IMetaInfoRepository metaInfoRepository, IQpMetadataManager qpMetadataManager, IQpContentManager qpContentManager, IUnitOfWork uow, IQpDbConnector qpDbConnector, ILogger <SettingsProvider> logger) { _metaInfoRepository = metaInfoRepository; _qpMetadataManager = qpMetadataManager; _qpContentManager = qpContentManager; _qpDbConnector = qpDbConnector; _uow = uow; _logger = logger; }
private static QpUrlResolver CreateMockedUrlResolver(IMetaInfoRepository metaInfoRepository) { var cacheSettings = new QpSiteStructureCacheSettings { ItemDefinitionCachePeriod = TimeSpan.FromSeconds(30), QpSchemeCachePeriod = TimeSpan.FromSeconds(30), SiteStructureCachePeriod = TimeSpan.FromSeconds(30) }; var cache = new MemoryCache(new MemoryCacheOptions()); var cacheProvider = new VersionedCacheCoreProvider(cache); var urlResolver = new QpUrlResolver(cacheProvider, metaInfoRepository, cacheSettings); return(urlResolver); }
public ApiController(IMetaInfoRepository metaInfoRepository, IItemDefinitionRepository itemDefinitionRepository, DBConnector dbConnector, IAbTestRepository abTestRepository, IQpUrlResolver qpUrlResolver, ICacheProvider cacheProvider, IQpContentCacheTagNamingProvider qpContentCacheTagNamingProvider) { _metaInfoRepository = metaInfoRepository; _itemDefinitionRepository = itemDefinitionRepository; _dbConnector = dbConnector; _qpUrlResolver = qpUrlResolver; _abTestRepository = abTestRepository; _cacheProvider = cacheProvider; _qpContentCacheTagNamingProvider = qpContentCacheTagNamingProvider; }
public QpAbstractItemStorageBuilder( IAbstractItemFactory itemFactory, IQpUrlResolver qpUrlResolver, IAbstractItemRepository abstractItemRepository, IMetaInfoRepository metaInfoRepository, QpSiteStructureBuildSettings buildSettings, ILogger <QpAbstractItemStorageBuilder> logger) { _itemFactory = itemFactory; _qpUrlResolver = qpUrlResolver; _abstractItemRepository = abstractItemRepository; _metaInfoRepository = metaInfoRepository; _buildSettings = buildSettings; _logger = logger; UsedContentNetNames = new string[2] { KnownNetNames.AbstractItem, KnownNetNames.ItemDefinition }; }
public NetNameQueryAnalyzer(IMetaInfoRepository metaInfoRepository) { _metaInfoRepository = metaInfoRepository; }
public DefaultQpContentCacheTagNamingProvider(IMetaInfoRepository metaInfoRepository, ICacheProvider cacheProvider) { _metaInfoRepository = metaInfoRepository; _cacheProvider = cacheProvider; }