Beispiel #1
0
 /// <summary>
 /// Called when the <see cref="ViewModel"/> has been saved.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 public virtual void OnViewModelSaved(object sender, EventArgs e)
 {
     ViewModelSaved.SafeInvoke(this, e);
 }
Beispiel #2
0
 /// <summary>
 /// Called when the <see cref="ViewModel"/> has been saved.
 /// </summary>
 /// <param name="sender">The sender.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 public virtual Task OnViewModelSavedAsync(object sender, EventArgs e)
 {
     ViewModelSaved.SafeInvoke(this, e);
     return(ViewModelSavedAsync.SafeInvokeAsync(this, e));
 }