/// <summary> /// 增加一项过滤条件 /// </summary> /// <param name="Name"></param> /// <param name="Filter"></param> public void Append(string Name, string Filter) { if (Name != null) { Name = Name.ToLower(); } FilterItem myFilter = new FilterItem(Name, Filter); myFilter.Group = this; this.myFields.Add(myFilter); }
/// <summary> /// 增加一项过滤条件 /// </summary> /// <param name="myFilter"></param> public void Append(FilterItem myFilter) { myFilter.Group = this; this.myFields.Add(myFilter); }