public BucketManager(IServiceUriProvider serviceUriProvider, CouchbaseHttpClient client, ILogger <BucketManager> logger, IRedactor redactor) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _client = client ?? throw new ArgumentNullException(nameof(client)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _redactor = redactor ?? throw new ArgumentNullException(nameof(redactor)); }
public SearchIndexManager(IServiceUriProvider serviceUriProvider, CouchbaseHttpClient httpClient, ILogger <SearchIndexManager> logger) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _client = httpClient ?? throw new ArgumentNullException(nameof(httpClient)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public BucketManager(IServiceUriProvider serviceUriProvider, ICouchbaseHttpClientFactory httpClientFactory, ILogger <BucketManager> logger, IRedactor redactor) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _redactor = redactor ?? throw new ArgumentNullException(nameof(redactor)); }
public EventingFunctionService(ICouchbaseHttpClientFactory httpClientFactory, IServiceUriProvider serviceUriProvider, ILogger <EventingFunctionService> logger, IRedactor redactor) : base(httpClientFactory) { _serviceUriProvider = serviceUriProvider; _logger = logger; _redactor = redactor; }
public CollectionManager(string bucketName, IServiceUriProvider serviceUriProvider, CouchbaseHttpClient client, ILogger <CollectionManager> logger) { _bucketName = bucketName ?? throw new ArgumentNullException(nameof(bucketName)); _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _client = client ?? throw new ArgumentNullException(nameof(client)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public ViewIndexManager(string bucketName, IServiceUriProvider serviceUriProvider, ICouchbaseHttpClientFactory httpClientFactory, ILogger <ViewIndexManager> logger, IRedactor redactor) { _bucketName = bucketName ?? throw new ArgumentNullException(nameof(bucketName)); _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _redactor = redactor ?? throw new ArgumentNullException(nameof(redactor)); }
public AnalyticsIndexManager(ILogger <AnalyticsIndexManager> logger, IQueryClient client, IRedactor redactor, IServiceUriProvider serviceUriProvider, CouchbaseHttpClient couchbaseHttpClient) { _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _client = client ?? throw new ArgumentNullException(nameof(client)); _redactor = redactor ?? throw new ArgumentNullException(nameof(redactor)); _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _couchbaseHttpClient = couchbaseHttpClient ?? throw new ArgumentNullException(nameof(couchbaseHttpClient)); }
public AnalyticsClient( CouchbaseHttpClient client, IServiceUriProvider serviceUriProvider, ITypeSerializer typeSerializer, ILogger <AnalyticsClient> logger) : base(client) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _typeSerializer = typeSerializer ?? throw new ArgumentNullException(nameof(typeSerializer)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public QueryClient( CouchbaseHttpClient httpClient, IServiceUriProvider serviceUriProvider, ITypeSerializer serializer, ILogger <QueryClient> logger) : base(httpClient) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _serializer = serializer ?? throw new ArgumentNullException(nameof(serializer)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); }
public SearchClient( CouchbaseHttpClient httpClient, IServiceUriProvider serviceUriProvider, ILogger <SearchClient> logger) : base(httpClient) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); // Always use the SearchDataMapper _dataMapper = new SearchDataMapper(); }
public QueryClient( ICouchbaseHttpClientFactory clientFactory, IServiceUriProvider serviceUriProvider, ITypeSerializer serializer, ILogger <QueryClient> logger, IRequestTracer tracer) : base(clientFactory) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _serializer = serializer ?? throw new ArgumentNullException(nameof(serializer)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _tracer = tracer ?? throw new ArgumentNullException(nameof(tracer)); }
public AnalyticsClient( ICouchbaseHttpClientFactory httpClientFactory, IServiceUriProvider serviceUriProvider, ITypeSerializer typeSerializer, ILogger <AnalyticsClient> logger, IRequestTracer tracer) : base(httpClientFactory) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _typeSerializer = typeSerializer ?? throw new ArgumentNullException(nameof(typeSerializer)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _tracer = tracer; }
public SearchClient( ICouchbaseHttpClientFactory httpClientFactory, IServiceUriProvider serviceUriProvider, ILogger <SearchClient> logger, IRequestTracer tracer) : base(httpClientFactory) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _tracer = tracer; // Always use the SearchDataMapper _dataMapper = new SearchDataMapper(); }
public QueryClient( CouchbaseHttpClient httpClient, IServiceUriProvider serviceUriProvider, ITypeSerializer serializer, ILogger <QueryClient> logger, IRequestTracer tracer) : base(httpClient) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _serializer = serializer ?? throw new ArgumentNullException(nameof(serializer)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _tracer = tracer ?? throw new ArgumentNullException(nameof(tracer)); HttpClient.Timeout = Timeout.InfiniteTimeSpan; }
internal QueryClient(CouchbaseHttpClient httpClient, IServiceUriProvider serviceUriProvider, ITypeSerializer serializer) : base(httpClient) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _serializer = serializer ?? throw new ArgumentNullException(nameof(serializer)); }
public SearchClient(CouchbaseHttpClient httpClient, IServiceUriProvider serviceUriProvider, IDataMapper dataMapper) : base(httpClient) { _serviceUriProvider = serviceUriProvider ?? throw new ArgumentNullException(nameof(serviceUriProvider)); _dataMapper = dataMapper ?? throw new ArgumentNullException(nameof(dataMapper)); }
public WebApiClient(IServiceUriProvider serverUriProvider) { _serverBaseUri = new Uri(serverUriProvider.BaseUri); }