示例#1
0
        //-------------------------------------------------------------------------
        public override bool Equals(object obj)
        {
            CPlageIP plage = obj as CPlageIP;

            if (plage != null && plage.m_strModeleIP == this.m_strModeleIP && plage.m_nMask == this.m_nMask)
            {
                return(true);
            }

            return(false);
        }
示例#2
0
 public void RemovePlage(CPlageIP plage)
 {
     PlagesIPList.Remove(plage);
 }
示例#3
0
 public void AddPlage(CPlageIP plage)
 {
     PlagesIPList.Add(plage);
 }