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