/// <summary>
 /// Create a new repository that updates the local clone of a DataDock GitHub repository
 /// </summary>
 /// <param name="targetDirectory">The path to the directory containing the local clone</param>
 /// <param name="repositoryUri">The base IRI for DataDock graphs in this repository</param>
 /// <param name="progressLog">The progress logger to report to</param>
 /// <param name="quinceStoreFactory">a factory for creating an IQuinceStore instance to access the Quince store of the GitHub repository</param>
 /// <param name="fileFileGeneratorFactory">a factory for creating an <see cref="IFileGeneratorFactory"/> instance to generate the statically published HTML files for the GitHub repository</param>
 /// <param name="rdfResourceFileMapper">Provides the logic to map resource URIs to the path to the static RDF files for that resource</param>
 /// <param name="htmlResourceFileMapper">Provides the logic to map resource URIs to the path to the static HTML files for that resource</param>
 /// <param name="uriService">Provides the logic to generate URIs for DataDock resources</param>
 public DataDockRepository(
     string targetDirectory,
     Uri repositoryUri,
     IProgressLog progressLog,
     IQuinceStoreFactory quinceStoreFactory,
     IFileGeneratorFactory fileFileGeneratorFactory,
     IResourceFileMapper rdfResourceFileMapper,
     IResourceFileMapper htmlResourceFileMapper,
     IDataDockUriService uriService)
 {
     _targetDirectory        = targetDirectory;
     _repositoryUri          = repositoryUri;
     _progressLog            = progressLog;
     _quinceStore            = quinceStoreFactory.MakeQuinceStore(targetDirectory);
     _fileGeneratorFactory   = fileFileGeneratorFactory;
     _rdfResourceFileMapper  = rdfResourceFileMapper;
     _htmlResourceFileMapper = htmlResourceFileMapper;
     _uriService             = uriService;
 }
Exemple #2
0
 public TripleDrop(Triple triple, IQuinceStore store)
 {
     _triple = triple;
     _store  = store;
 }
 public ObjectResourceEnumerationHandler(IQuinceStore store, IResourceStatementHandler resourceStatementHandler)
 {
     _store = store;
     _resourceStatementHandler = resourceStatementHandler;
 }