示例#1
0
 public void Add(FireDTVSourceFilterInfo sourceFilter)
 {
     foreach (FireDTVSourceFilterInfo srcFilter in List)
     {
         if (srcFilter.Name == sourceFilter.Name)
         {
             sourceFilter.Close();
             return;
         }
     }
     List.Add(sourceFilter);
 }
 public void Add(FireDTVSourceFilterInfo sourceFilter)
 {
   foreach (FireDTVSourceFilterInfo srcFilter in List)
   {
     if (srcFilter.Name == sourceFilter.Name)
     {
       sourceFilter.Close();
       return;
     }
   }
   List.Add(sourceFilter);
 }