示例#1
0
 public SolumeReposity(IOptions <MongoDbOptions> mongoSettings,
                       IOptions <RestApiOptions> restApiOptions,
                       IJsonDeserialize jsonDeserialize)
 {
     _restApiOptions  = restApiOptions.Value;
     _jsonDeserialize = jsonDeserialize;
     _context         = new CoinTweetyDbContext(mongoSettings);
 }
 public CoinSocialAnalysisReposity(IOptions <MongoDbOptions> mongoDbSettings)
 {
     _context = new CoinTweetyDbContext(mongoDbSettings);
 }
 public CoinSocialMediaAddressReposity(IOptions <MongoDbOptions> mongoDbSettings)
 {
     _context = new CoinTweetyDbContext(mongoDbSettings);
 }