Example #1
0
        public TestBase()
        {
            connFactory        = new Neo4jConnectionFactory();
            paths              = new PathsDataService(connFactory);
            folders            = new FoldersDataService(connFactory, paths);
            workflows          = new WorkflowService(AssemblyDirectory + "\\" + ConfigurationManager.AppSettings["WorkflowFolder"], new Guid(ConfigurationManager.AppSettings["WorkflowStoreId"]), connFactory);
            documentFiles      = new DocumentFilesDataService(connFactory, paths);
            documentsWorkflows = new DocumentsWorkflowsService(connFactory, workflows, documentFiles);
            documents          = new DocumentsDataService(connFactory, paths, documentsWorkflows);

            connFactory.InitAndEraseAll();
        }
Example #2
0
 public TagsDataService(IConnectionFactory connFactory, IPathsDataService paths)
 {
     this.client = connFactory.GetConnection();
     this.paths  = paths;
 }
Example #3
0
 public DocumentsDataService(IConnectionFactory connFactory, IPathsDataService paths, IDocumentsWorkflowsService documentsWorkflows)
 {
     this.client             = connFactory.GetConnection();
     this.paths              = paths;
     this.documentsWorkflows = documentsWorkflows;
 }