/// <summary> /// Called when the substates has changed. /// </summary> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> protected virtual void OnActiveSubstateChanged(ActiveSubstateChangedEventArgs e) { EventHandler <ActiveSubstateChangedEventArgs> handler = this.ActiveSubstateChanged; if (handler != null) { handler(this, e); } }
/// <summary> /// Called when the substates has changed. /// </summary> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> protected virtual void OnActiveSubstateChanged(ActiveSubstateChangedEventArgs e) { EventHandler<ActiveSubstateChangedEventArgs> handler = this.ActiveSubstateChanged; if (handler != null) { handler(this, e); } }