VlanInfo Equals func

This commit is contained in:
Tim Young 2018-03-16 14:20:38 -05:00
parent ff81afba45
commit c07bc41d5a

View File

@ -65,5 +65,12 @@ namespace EduNetworkBuilder
ID = id; ID = id;
Tag = tag; Tag = tag;
} }
public bool Equals(VLANInfo CompareWith)
{
if (_ID != CompareWith._ID) return false;
if (Tag != CompareWith.Tag) return false;
return true;
}
} }
} }