public MemoryConnectionManager( IGraphDescriptor graphDescriptor, ICacheService cacheService, IGraphEventHandler graphEventHandler) : base(graphDescriptor) { _cacheService = cacheService; _graphEventHandler = graphEventHandler; }
public Neo4jConnectionManager( IGraphDescriptor graphDescriptor, Uri rootUri, INeo4jGraphClientPool graphClientPool, Func<IGraphDescriptor, IExternalGraphStatisticsService> statisticsService, INeo4jGraphInfoService infoService, IGraphCacheService cacheService, IGraphEventHandler graphEventHandler) : base(graphDescriptor, rootUri, graphClientPool) { _statisticsService = statisticsService(_graphDescriptor); _infoService = infoService; _cacheService = cacheService; _graphEventHandler = graphEventHandler; Logger = NullLogger.Instance; }