Rhino.Kit.ComplexKey.Equals C# (CSharp) Method

Equals() public method

public Equals ( object anotherObj ) : bool
anotherObj object
return bool
			public override bool Equals(object anotherObj)
			{
				if (!(anotherObj is Kit.ComplexKey))
				{
					return false;
				}
				Kit.ComplexKey another = (Kit.ComplexKey)anotherObj;
				return key1.Equals(another.key1) && key2.Equals(another.key2);
			}