Пример #1
0
 /// <inheritdoc />
 public override int GetHashCode() =>
 GaxEqualityHelpers.CombineHashCodes(
     EnableServiceConfigResolution.GetHashCode(),
     KeepAliveTime.GetHashCode(),
     PrimaryUserAgent?.GetHashCode() ?? 0,
     MaxSendMessageSize.GetHashCode(),
     MaxReceiveMessageSize.GetHashCode(),
     GaxEqualityHelpers.GetListHashCode(CustomOptions));
Пример #2
0
 /// <inheritdoc />
 public override int GetHashCode() =>
 GaxEqualityHelpers.CombineHashCodes((int)ChangeType, OldIndex ?? -1, NewIndex ?? -1, Document.GetHashCode());
Пример #3
0
 /// <inheritdoc />
 public override int GetHashCode() => GaxEqualityHelpers.CombineHashCodes(_seconds.GetHashCode(), _nanoseconds.GetHashCode());
Пример #4
0
 public override int GetHashCode() =>
 GaxEqualityHelpers.CombineHashCodes(
     GrpcAdapter.GetHashCode(),
     Endpoint.GetHashCode(),
     Options.GetHashCode());
Пример #5
0
 public override int GetHashCode() =>
 GaxEqualityHelpers.CombineHashCodes(
     Endpoint.GetHashCode(),
     GaxEqualityHelpers.GetListHashCode(Options));
Пример #6
0
 /// <inheritdoc />
 public override int GetHashCode() =>
 GaxEqualityHelpers.CombineHashCodes(Query.GetHashCode(), GaxEqualityHelpers.GetListHashCode(Documents), GaxEqualityHelpers.GetListHashCode(Changes));
 public void CombineHashCodes8() =>
 CheckCombineHashCodes(8, array => GaxEqualityHelpers.CombineHashCodes(array[0], array[1], array[2], array[3], array[4], array[5], array[6], array[7]));
 public void CombineHashCodes5() =>
 CheckCombineHashCodes(5, array => GaxEqualityHelpers.CombineHashCodes(array[0], array[1], array[2], array[3], array[4]));
 public void CombineHashCodes3() =>
 CheckCombineHashCodes(3, array => GaxEqualityHelpers.CombineHashCodes(array[0], array[1], array[2]));
Пример #10
0
 /// <inheritdoc />
 public override int GetHashCode() => GaxEqualityHelpers.CombineHashCodes((int)Type, IntegerValue, Name.GetHashCode(), StringValue?.GetHashCode() ?? 0);
Пример #11
0
 /// <inheritdoc />
 public override int GetHashCode() => GaxEqualityHelpers.CombineHashCodes(Latitude.GetHashCode(), Longitude.GetHashCode());