public void Remove(TaxFilter filter) { if (filter == null) { return; } for (int i = 0; i < filter.Size(); i++) { items.Remove(filter.GetItem(i)); } }
public TaxFilter Add(TaxFilter filter) { if (filter != null) { for (int i = 0; i < filter.Size(); i++) { items.Add(filter.GetItem(i)); } } return(this); }
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)); } } }
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)); } } }