Beispiel #1
0
 /// <inheritdoc />
 public override int GetHashCode() => EqualityHelpers.CombineHashCodes(
     Collection.GetHashCode(),
     _offset,
     _limit ?? -1,
     EqualityHelpers.GetListHashCode(_orderings),
     EqualityHelpers.GetListHashCode(_filters),
     EqualityHelpers.GetListHashCode(_projections),
     _startAt?.GetHashCode() ?? -1,
     _endAt?.GetHashCode() ?? -1);
Beispiel #2
0
 /// <inheritdoc />
 public override int GetHashCode() =>
 EqualityHelpers.CombineHashCodes(Query.GetHashCode(), EqualityHelpers.GetListHashCode(Documents));
 /// <inheritdoc />
 public override int GetHashCode() => EqualityHelpers.CombineHashCodes(Merge ? 1 : 2, EqualityHelpers.GetListHashCode(FieldMask));