public MongoContentCollectionAll(IMongoDatabase database, IAppProvider appProvider, ITextIndex indexer, DataConverter converter)
     : base(database)
 {
     queryContentAsync    = new QueryContent(converter);
     queryContentsById    = new QueryContentsByIds(converter, appProvider);
     queryContentsByQuery = new QueryContentsByQuery(converter, indexer);
     queryIdsAsync        = new QueryIdsAsync(appProvider);
     queryScheduledItems  = new QueryScheduledContents();
 }
 public MongoContentCollectionAll(IMongoDatabase database, IAppProvider appProvider, IContentTextIndex indexer, IJsonSerializer serializer)
     : base(database)
 {
     queryContentAsync    = new QueryContent(serializer);
     queryContentsById    = new QueryContentsByIds(serializer, appProvider);
     queryContentsByQuery = new QueryContentsByQuery(serializer, indexer);
     queryIdsAsync        = new QueryIdsAsync(appProvider);
     queryScheduledItems  = new QueryScheduledContents();
 }
        public MongoContentRepository(IMongoDatabase database, IAppProvider appProvider, ITextIndexer indexer, IJsonSerializer serializer)
            : base(database)
        {
            Guard.NotNull(appProvider);
            Guard.NotNull(serializer);

            this.appProvider = appProvider;

            this.serializer = serializer;

            queryContentAsync    = new QueryContent(serializer);
            queryContentsById    = new QueryContentsByIds(serializer, appProvider);
            queryContentsByQuery = new QueryContentsByQuery(serializer, indexer);
            queryIdsAsync        = new QueryIdsAsync(appProvider);
            queryScheduledItems  = new QueryScheduledContents();
        }