VlanName Equals Func
This commit is contained in:
parent
c07bc41d5a
commit
485a57382b
@ -42,6 +42,13 @@ namespace EduNetworkBuilder
|
|||||||
Name = name;
|
Name = name;
|
||||||
_Color = ColorForPacket;
|
_Color = ColorForPacket;
|
||||||
}
|
}
|
||||||
|
public bool Equals(VLANName CompareWith)
|
||||||
|
{
|
||||||
|
if (ID != CompareWith.ID) return false;
|
||||||
|
if (Name != CompareWith.Name) return false;
|
||||||
|
if (PacketColor != CompareWith.PacketColor) return false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Serializable]
|
[Serializable]
|
||||||
|
Loading…
Reference in New Issue
Block a user