public AdhocGraphProvider(
            IGraphServicesFactory<IStandardMind, IAdhocGraphConnectionManager, IStandardPathFinder, IStandardNodeManager> graphServicesFactory,
            IContentManager contentManager,
            ICacheService cacheService)
        {
            _graphServicesFactory = graphServicesFactory;
            _contentManager = contentManager;
            _cacheService = cacheService;

            T = NullLocalizer.Instance;
        }
        // Notice the lazy-loading of path services
        public NotionsGraphProvider(IGraphServicesFactory<IStandardMind, ISqlConnectionManager<NotionToNotionConnectorRecord>, IStandardPathFinder, IStandardNodeManager> graphServicesFactory)
        {
            _graphServicesFactory = graphServicesFactory;

            T = NullLocalizer.Instance;
        }
Пример #3
0
 public StubGraphManager(IGraphServicesFactory<IMind, IConnectionManager, IPathFinder, INodeManager> graphServicesFactory)
 {
     _graphServicesFactory = graphServicesFactory;
 }