예제 #1
0
 public DataProcessor(DataStorageSettings dbSettings)
 {
     _dbSettings = dbSettings.ThrowIfNull(nameof(dbSettings));
 }
 public CThingAppraiserContext(DataStorageSettings storageSettings)
 {
     _storageSettings = storageSettings.ThrowIfNull(nameof(storageSettings));
 }
예제 #3
0
 public TextFileRepository(IOptions <DataStorageSettings> dataStorageSettings)
 {
     _dataStorageSettings = dataStorageSettings.Value;
 }
 public BasicInfoRepository(DataStorageSettings dbSettings)
 {
     _dbSettings    = dbSettings.ThrowIfNull(nameof(dbSettings));
     _dataProcessor = new DataProcessor(_dbSettings);
 }
 public TmdbMovieRepository(DataStorageSettings dbSettings)
 {
     _dbSettings          = dbSettings;
     _basicInfoRepository = new BasicInfoRepository(dbSettings);
     _dataProcessor       = new DataProcessor(_dbSettings);
 }
 public ResultInfoRepository(DataStorageSettings dbSettings)
 {
     _dbSettings = dbSettings.ThrowIfNull(nameof(dbSettings));
 }