Ejemplo n.º 1
0
 void IPresenter.Register(IToastNotificationItem item)
 {
     items.Add(new ItemData()
     {
         source = item,
     });
     item.Changed += ItemChanged;
     UpdateView();
 }
Ejemplo n.º 2
0
 void ModifyItem(IToastNotificationItem key, Action <ItemData> action)
 {
     ModifyItem(x => key != null && x.source == key, action);
 }