public TableSearchService( CloudTableClient client, ISearchResponseBuilder responseBuilder) { _table = client?.GetTableReference(TableName) ?? throw new ArgumentNullException(nameof(client)); _responseBuilder = responseBuilder ?? throw new ArgumentNullException(nameof(responseBuilder)); }
public DatabaseSearchService( IContext context, IFrameworkCompatibilityService frameworks, ISearchResponseBuilder searchBuilder) { _context = context ?? throw new ArgumentNullException(nameof(context)); _frameworks = frameworks ?? throw new ArgumentNullException(nameof(frameworks)); _searchBuilder = searchBuilder ?? throw new ArgumentNullException(nameof(searchBuilder)); }
public AzureSearchService( IIndexOperationBuilder operationBuilder, ISearchIndexClientWrapper searchIndex, ISearchIndexClientWrapper hijackIndex, ISearchResponseBuilder responseBuilder, IAzureSearchTelemetryService telemetryService) { _operationBuilder = operationBuilder ?? throw new ArgumentNullException(nameof(operationBuilder)); _searchIndex = searchIndex ?? throw new ArgumentNullException(nameof(searchIndex)); _hijackIndex = hijackIndex ?? throw new ArgumentNullException(nameof(hijackIndex)); _responseBuilder = responseBuilder ?? throw new ArgumentNullException(nameof(responseBuilder)); _telemetryService = telemetryService ?? throw new ArgumentNullException(nameof(telemetryService)); }