示例#1
0
 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)
 {
 }
示例#3
0
 void IEventListener.ListenGuestMsg(UIGuestMsgEventArgs e)
 {
     this.OnGuestMsg(e);
 }
示例#4
0
 internal abstract void ListenGuestMsg(object sender, UIGuestMsgEventArgs e);
示例#5
0
 internal void InvokeGuestMsg(S sender, T state, UIGuestMsgEventArgs e) => GuestMsg.Invoke(new SenderInfo(sender, state), e);