internal override void ListenGuestMsg(object sender, UIGuestMsgEventArgs e) { //since we don't want a 'blank round trip' //(invoke a blank action), so , => check before invocation if (_ownerBeh.HasGuestMsg) { _ownerBeh.InvokeGuestMsg((S)sender, _state, e); } }
void IEventListener.ListenGuestMsg(UIGuestMsgEventArgs e) { }
void IEventListener.ListenGuestMsg(UIGuestMsgEventArgs e) { this.OnGuestMsg(e); }
internal abstract void ListenGuestMsg(object sender, UIGuestMsgEventArgs e);
internal void InvokeGuestMsg(S sender, T state, UIGuestMsgEventArgs e) => GuestMsg.Invoke(new SenderInfo(sender, state), e);