Beispiel #1
0
 void Repository_ItemsAppended(object sender, ItemsEventArgs e)
 {
     foreach (var item in e.Items)
     {
         if (item.MatchesWith(Words))
         {
             AnnounceItem(item);
         }
     }
 }
 void Filterer_ItemsFound(object sender, ItemsEventArgs e)
 {
     lstFiles.SafeAction(x =>
     {
         if (e.Items != null)
         {
             x.Items.AddRange(e.Items.ToArray());
             x.SortList();
         }
     });
 }