Пример #1
0
        /// <summary>
        /// Invokes the end-then event.
        /// </summary>
        protected virtual void InvokeEndThen()
        {
            var args = new ActorEventArgs(this);

            EndThen?.Invoke(this, args);
        }
Пример #2
0
        /// <summary>
        /// Event invoker for the <see cref="ActorAdded"/> event.
        /// </summary>
        /// <param name="actor">Actor.</param>
        protected virtual void OnActorAdded(IActor actor)
        {
            var args = new ActorEventArgs(actor);

            ActorAdded?.Invoke(this, args);
        }
Пример #3
0
        /// <summary>
        /// Invokes the begin-when event.
        /// </summary>
        protected virtual void InvokeBeginWhen()
        {
            var args = new ActorEventArgs(this);

            BeginWhen?.Invoke(this, args);
        }