public IServiceCollection Bootstrap(IServiceCollection services) { var config = services.BuildServiceProvider().GetRequiredService <IConfiguration>(); var tableStorageConfig = new TableStorageConfig(); config.Bind("TableStoragePlugin", tableStorageConfig); services.AddScoped <TableStorageConfig>((serviceProvider) => { return(tableStorageConfig); }); return(services); }
protected TableStorageProviderBase(TableStorageConfig config) { this.config = config; }
internal TableStorageProductsRepository(TableStorageConfig config) : base(config) { }