示例#1
0
 public void Clear()
 {
     FilterOutType = FilterType.Off;
     FilterOutList.Clear();
     FilterInType = FilterType.Off;
     FilterInList.Clear();
 }
示例#2
0
 public void CopyFrom(PacketListFilter aFilter)
 {
     FilterOutType = aFilter.FilterOutType;
     FilterInType  = aFilter.FilterInType;
     FilterOutList.Clear();
     FilterOutList.AddRange(aFilter.FilterOutList);
     FilterInList.Clear();
     FilterInList.AddRange(aFilter.FilterInList);
 }