VlanInfo Equals func
This commit is contained in:
1 parent
ff81afba45
commit
c07bc41d5a
1 file changed
+7
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user