public QoSMeteringChangeFeedDocumentClient(IChangeFeedDocumentClient changeFeedDocumentClientImplementation, IQoSMeteringReporter meter) { _inner = changeFeedDocumentClientImplementation ?? throw new ArgumentNullException(nameof(changeFeedDocumentClientImplementation)); _meter = meter ?? throw new ArgumentNullException(nameof(meter)); }
public QoSMeteringChangeFeedDocumentQuery(IChangeFeedDocumentQuery <Document> inner, string partitionRangeId, IQoSMeteringReporter meter) { _inner = inner ?? throw new ArgumentNullException(nameof(inner)); _partitionRangeId = partitionRangeId ?? throw new ArgumentNullException(nameof(partitionRangeId)); _meter = meter ?? throw new ArgumentNullException(nameof(meter)); }