public LazyGetCompareExchangeValuesOperation(ClusterTransactionOperationsBase clusterSession, DocumentConventions conventions, string startsWith, int start, int pageSize) { _clusterSession = clusterSession ?? throw new ArgumentNullException(nameof(clusterSession)); _conventions = conventions ?? throw new ArgumentNullException(nameof(conventions)); _startsWith = startsWith; _start = start; _pageSize = pageSize; }
public LazyGetCompareExchangeValuesOperation(ClusterTransactionOperationsBase clusterSession, DocumentConventions conventions, string[] keys) { if (keys == null || keys.Length == 0) { throw new ArgumentNullException(nameof(keys)); } _clusterSession = clusterSession ?? throw new ArgumentNullException(nameof(clusterSession)); _conventions = conventions ?? throw new ArgumentNullException(nameof(conventions)); _keys = keys; }
public LazyGetCompareExchangeValueOperation(ClusterTransactionOperationsBase clusterSession, DocumentConventions conventions, string key) { _clusterSession = clusterSession ?? throw new ArgumentNullException(nameof(clusterSession)); _conventions = conventions ?? throw new ArgumentNullException(nameof(conventions)); _key = key ?? throw new ArgumentNullException(nameof(key)); }