Esempio n. 1
0
 public void RaiseOnChanged(object sender, ChangeNotifierEventArgs args)
 {
     if (OnChanged != null)
     {
         OnChanged(sender, args);
     }
 }
Esempio n. 2
0
 public void RaiseOnClearing(object sender, ChangeNotifierEventArgs args)
 {
     if (OnClearing != null)
     {
         OnClearing(sender, args);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// Called when item was changed.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="ChangeNotifierEventArgs"/> instance containing the event data.</param>
 protected virtual void OnItemChanged(object sender, ChangeNotifierEventArgs e)
 {
     if (EventBrokerExists)
     {
         EventBroker.RaiseOnItemChanged(this, new CollectionChangeNotifierEventArgs <TItem>((TItem)sender));
     }
 }