public AzureGatewayListProvider(ILoggerFactory loggerFactory, IOptions <AzureTableGatewayListProviderOptions> options, ClientConfiguration clientConfiguration)
 {
     this.loggerFactory = loggerFactory;
     this.deploymentId  = clientConfiguration.DeploymentId;
     this.maxStaleness  = clientConfiguration.GatewayListRefreshPeriod;
     this.options       = options.Value;
 }
Beispiel #2
0
        protected override IGatewayListProvider CreateGatewayListProvider(ILogger logger)
        {
            var options = new AzureTableGatewayListProviderOptions()
            {
                ConnectionString = this.connectionString
            };

            return(new AzureGatewayListProvider(loggerFactory, Options.Create(options), this.clientOptions, this.clientConfiguration));
        }