Example #1
0
 public AggregatorSystem
 (
     IRawContentRepository RawContentRepository,
     IUnprocessedDocumentRepository UnprocessedDocumentRepository
 )
 {
     this.RawContentRepository          = RawContentRepository;
     this.UnprocessedDocumentRepository = UnprocessedDocumentRepository;
 }
        public void SetUp()
        {
            LiteDBFunctions.DoLiteDBGlobalSetUp();

            rawContentRepository          = new LiteDBRawContentRepository(new LiteDatabase(":memory:"));
            unprocessedDocumentRepository = new LiteDBUnprocessedDocumentRepository(new LiteDatabase(":memory:"));

            system = new AggregatorSystem
                     (
                RawContentRepository: rawContentRepository,
                UnprocessedDocumentRepository: unprocessedDocumentRepository
                     );
        }
Example #3
0
 public void SetUp()
 {
     LiteDBFunctions.DoLiteDBGlobalSetUp();
     repository = new LiteDBUnprocessedDocumentRepository(new LiteDatabase(":memory:"));
 }