Пример #1
0
 public BlobTrigger(ILoggerFactory log,
                    IOptions <AzStorageConfiguration> blobConfiguration,
                    IAssemblyAiService assemblyAiService,
                    ITableDbContext tableContext)
 {
     _log = log.CreateLogger <BlobTrigger>();
     _blobConfiguration = blobConfiguration.Value;
     _tableDbContext    = tableContext ?? throw new ArgumentNullException(nameof(tableContext));
     _assemblyAiService = assemblyAiService ?? throw new ArgumentNullException(nameof(assemblyAiService));
 }
Пример #2
0
 public BlobContext(ILoggerFactory log, IOptions <AzStorageConfiguration> blobConfiguration)
 {
     _log = log.CreateLogger <BlobContext>();
     _blobConfiguration = blobConfiguration.Value;
 }
Пример #3
0
 public TableDbContext(ILoggerFactory log, IOptions <AzStorageConfiguration> tableConfiguration)
 {
     _log = log.CreateLogger <TableDbContext>();
     _tableConfiguration = tableConfiguration.Value;
 }