/// <summary> /// Invokes the cancelled event. /// </summary> /// <param name="args">The <see cref="Apex.MVVM.CommandEventArgs"/> instance containing the event data.</param> protected void InvokeCancelled(CommandEventArgs args) { CommandEventHandler cancelled = Cancelled; // Call the cancelled event. if (cancelled != null) cancelled(this, args); }
protected void InvokeExecuted(CommandEventArgs args) { CommandEventHandler executed = Executed; // Call the executed event. if (executed != null) executed(this, args); }