VlanInfo Equals func
This commit is contained in:
parent
ff81afba45
commit
c07bc41d5a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user