Turns out we didn't need a custom Equals comparer for ConnectionInfo. Rolling back since it's probably best to keep the default implementation unless we actually need a custom one.

This commit is contained in:
David Sparer
2016-09-09 09:57:21 -06:00
parent 00abd53b19
commit 4cdfeeecf2

View File

@@ -734,14 +734,6 @@ namespace mRemoteNG.Connection
{
RemoveParent();
}
public override bool Equals(object otherObject)
{
var otherObjectAsConnectionInfo = otherObject as ConnectionInfo;
if (otherObjectAsConnectionInfo == null) return false;
return otherObjectAsConnectionInfo.ConstantID == ConstantID;
}
#endregion
#region Public Enumerations