public void AddOutFilterValueToList(UInt16 value) { if ((value > 0) && (FilterOutList.IndexOf(value) < 0)) { FilterOutList.Add(value); } }
public void Clear() { FilterOutType = FilterType.Off; FilterOutList.Clear(); FilterInType = FilterType.Off; FilterInList.Clear(); }
public void CopyFrom(PacketListFilter aFilter) { FilterOutType = aFilter.FilterOutType; FilterInType = aFilter.FilterInType; FilterOutList.Clear(); FilterOutList.AddRange(aFilter.FilterOutList); FilterInList.Clear(); FilterInList.AddRange(aFilter.FilterInList); }