mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user