Geocoding.Google.BusinessKey.GetHashCode C# (CSharp) Method

GetHashCode() public method

public GetHashCode ( ) : int
return int
		public override int GetHashCode()
		{
			return ClientId.GetHashCode() ^ SigningKey.GetHashCode();
		}

Usage Example

		public void Should_not_be_equal_with_different_signing_keys()
		{
			var key1 = new BusinessKey("client-id", "signing-key1");
			var key2 = new BusinessKey("client-id", "signing-key2");

			Assert.NotEqual(key1, key2);
			Assert.NotEqual(key1.GetHashCode(), key2.GetHashCode());
		}
All Usage Examples Of Geocoding.Google.BusinessKey::GetHashCode