示例#1
0
 public void Remove(TaxFilter filter)
 {
     if (filter == null)
     {
         return;
     }
     for (int i = 0; i < filter.Size(); i++)
     {
         items.Remove(filter.GetItem(i));
     }
 }
示例#2
0
 public TaxFilter Add(TaxFilter filter)
 {
     if (filter != null)
     {
         for (int i = 0; i < filter.Size(); i++)
         {
             items.Add(filter.GetItem(i));
         }
     }
     return(this);
 }
示例#3
0
 public TaxFilter(TaxFilter filter) : this()
 {
     if (filter == null)
     {
         return;
     }
     for (int i = 0; i < filter.Size(); i++)
     {
         if (filter.GetItem(i) != null)
         {
             add(filter.GetItem(i));
         }
     }
 }
示例#4
0
        public void Copy(TaxFilter filter)
        {
            Clear();
            if (filter == null)
            {
                return;
            }

            for (int i = 0; i < filter.Size(); i++)
            {
                if (filter.GetItem(i) != null)
                {
                    add(filter.GetItem(i));
                }
            }
        }