Exemplo n.º 1
0
        /// <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);
        }
Exemplo n.º 2
0
 public void OnActivityResumed(Activity activity)
 {
     ActivityResumed?.Invoke(this, new ActivityEventArgs(activity));
 }
Exemplo n.º 3
0
 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));
    }