Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 protected TableStorageProviderBase(TableStorageConfig config)
 {
     this.config = config;
 }
Exemplo n.º 3
0
 internal TableStorageProductsRepository(TableStorageConfig config) : base(config)
 {
 }