/// <summary> /// Called when the activity is resumed. /// </summary> /// <param name="activity">The activity.</param> public void OnActivityResumed(Activity activity) { if (!ReferenceEquals(activity, _activity)) { return; } var eventArgs = new ActivityEventArgs(activity); ActivityResumed?.Invoke(this, eventArgs); }
public void OnActivityResumed(Activity activity) { ActivityResumed?.Invoke(this, new ActivityEventArgs(activity)); }
void RaiseActivityResumedEvent() { ActivityResumed?.Invoke(this, null); }
/// <summary> /// Called when an activity is resumed. /// </summary> /// <param name="activity">The activity.</param> public virtual void OnActivityResumed(Activity activity) { CurrentActivity = activity; ActivityResumed?.Invoke(this, new ActivityResumedEventArgs(activity)); }