make a virtual Equals func on components. Will need to make custom ones for a link and a device

This commit is contained in:
Tim Young 2018-03-16 15:55:30 -05:00
parent 990920b48f
commit 0a189ec949

View File

@ -28,7 +28,12 @@ namespace EduNetworkBuilder
public virtual void Print(Image BaseImage, CaptionType DrawTitle) public virtual void Print(Image BaseImage, CaptionType DrawTitle)
{ {
} }
public virtual bool Equals(NetworkComponent toCompare)
{
return false;
}
public virtual bool HasMac(string MAC) public virtual bool HasMac(string MAC)
{ {
return false; return false;