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); }