Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DatasetEditStorageService" /> class.
 /// </summary>
 public DatasetEditStorageService(
     IOptions <CosmosConfiguration> cosmosConfig,
     IOptions <StorageConfiguration> storageConfig,
     SasTokenService sasTokens,
     DatasetOwnersService datasetOwnersService,
     DatasetStorageService datasetStorage)
     : base(cosmosConfig)
 {
     this.StorageConfig  = storageConfig.Value;
     this.SasTokens      = sasTokens;
     this.DatasetOwners  = datasetOwnersService;
     this.DatasetStorage = datasetStorage;
 }
Exemplo n.º 2
0
 public DatasetOwnersService(IMemoryCache memoryCache, DatasetStorageService storage)
 {
     this.MemoryCache = memoryCache;
     this.Storage     = storage;
 }