예제 #1
0
        /// <summary>
        /// Runs once on Actor.Dispose().
        /// Main purpose is to ensure ChildActivity.OnActorDispose runs as well (which isn't otherwise accessible due to protection level).
        /// </summary>
        internal void OnActorDisposeOuter(Actor self)
        {
            if (ChildActivity != null)
            {
                ChildActivity.OnActorDisposeOuter(self);
            }

            OnActorDispose(self);
        }
예제 #2
0
        /// <summary>
        /// Runs once on Actor.Dispose().
        /// Main purpose is to ensure ChildActivity.OnActorDispose runs as well (which isn't otherwise accessible due to protection level).
        /// </summary>
        internal void OnActorDisposeOuter(Actor self)
        {
            ChildActivity?.OnActorDisposeOuter(self);

            OnActorDispose(self);
        }