Esempio n. 1
0
 public MongoIconService(MongoAccess mongo)
 {
     _states   = mongo.DB.GetCollection <MongoDMIState>("scrubby_dmi_state");
     _files    = mongo.DB.GetCollection <MongoDMIFile>("scrubby_dmi_file_metadata");
     _DMIFiles = new GridFSBucket(mongo.DB, new GridFSBucketOptions {
         BucketName = "scrubby_dmi_files"
     });
     _DMIGifs = new GridFSBucket(mongo.DB, new GridFSBucketOptions {
         BucketName = "scrubby_dmi_gifs"
     });
 }
 public MongoNewscasterService(MongoAccess mongo)
 {
     _Rounds = mongo.DB.GetCollection <Round>("rounds");
     _News   = mongo.DB.GetCollection <NewsCasterChannel>("newscasterchannels");
     _Wanted = mongo.DB.GetCollection <NewsCasterWanted>("newscasterwanted");
 }
 public MongoUserService(MongoAccess mongo)
 {
     _users = mongo.DB.GetCollection <AuthenticationRecordModel>("scrubby_users");
 }