コード例 #1
0
ファイル: Actor.cs プロジェクト: RhodeHummel/CSF.Screenplay
        /// <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
ファイル: Actor.cs プロジェクト: RhodeHummel/CSF.Screenplay
        /// <summary>
        /// Invokes the begin-when event.
        /// </summary>
        protected virtual void InvokeBeginWhen()
        {
            var args = new ActorEventArgs(this);

            BeginWhen?.Invoke(this, args);
        }