public DataStaxEnterpriseSearch(ISession session, PreparedStatementCache statementCache, IRestClient restClient, SearchOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (restClient == null) { throw new ArgumentNullException(nameof(restClient)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _restClient = restClient; _options = options; }
public SearchVideosByTag(ISession session, PreparedStatementCache statementCache, SearchOptions options) { if (session == null) { throw new ArgumentNullException(nameof(session)); } if (statementCache == null) { throw new ArgumentNullException(nameof(statementCache)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } _session = session; _statementCache = statementCache; _options = options; }