VlanInfo Equals func

This commit is contained in:
timy committed 2018-03-16 14:20:38 -05:00
1 parent ff81afba45
commit c07bc41d5a
1 file changed
+7
+7
View File
@@ -65,5 +65,12 @@ namespace EduNetworkBuilder
ID = id;
Tag = tag;
}
public bool Equals(VLANInfo CompareWith)
{
if (_ID != CompareWith._ID) return false;
if (Tag != CompareWith.Tag) return false;
return true;
}
}
}