示例#1
0
        public TableHealthCheck(
            ITableClientTestProvider testProvider,
            ILogger <TableHealthCheck> logger)
        {
            EnsureArg.IsNotNull(testProvider, nameof(testProvider));
            EnsureArg.IsNotNull(logger, nameof(logger));

            _testProvider = testProvider;
            _logger       = logger;
        }
示例#2
0
        public TableHealthCheck(
            CloudTableClient client,
            TableDataStoreConfiguration configuration,
            ITableClientTestProvider testProvider,
            ILogger <TableHealthCheck> logger)
        {
            EnsureArg.IsNotNull(client, nameof(client));
            EnsureArg.IsNotNull(configuration, nameof(configuration));
            EnsureArg.IsNotNull(testProvider, nameof(testProvider));
            EnsureArg.IsNotNull(logger, nameof(logger));

            _client        = client;
            _configuration = configuration;
            _testProvider  = testProvider;
            _logger        = logger;
        }