Example #1
0
 public DocumentService(IRepositoryDocument <Document> documentRepository)
 {
     _documentRepository = documentRepository;
 }
Example #2
0
 IndexerMemory()
 {
     this.lexicon = FactoryLexicon.GetLexicon();
     this.documentIndex = FactoryDocumentIndex.GetDocumentIndex();
     this.repDoc = FactoryRepositoryDocument.GetRepositoryDocument(EnumRepositoryType.Folder);
 }
Example #3
0
        public void Save(Document document)
        {
            IRepositoryDocument doc = document;

            SaveToDb(doc.Id, doc.Title);
        }