/// <summary> /// Invokes the end-then event. /// </summary> protected virtual void InvokeEndThen() { var args = new ActorEventArgs(this); EndThen?.Invoke(this, args); }
/// <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); }
/// <summary> /// Invokes the begin-when event. /// </summary> protected virtual void InvokeBeginWhen() { var args = new ActorEventArgs(this); BeginWhen?.Invoke(this, args); }