コード例 #1
0
        public FilterInstance Find(string filterName)
        {
            FilterInstance toReturn = null;

            foreach (FilterInstance filter in this.List)
            {
                if (filter.Instance.Name.Equals(filterName))
                {
                    toReturn = filter;
                    break;
                }
            }
            return(toReturn);
        }
コード例 #2
0
 public void Add(FilterInstance filterToAdd)
 {
     this.List.Add(filterToAdd);
 }
コード例 #3
0
 public void Insert(int index, FilterInstance filterToRemove)
 {
     this.List.Insert(index, filterToRemove);
 }
コード例 #4
0
 public void Remove(FilterInstance filterToRemove)
 {
     filterToRemove.Dispose();
     this.List.Remove(filterToRemove);
 }