internal virtual void Fire_MessageReceived(DoubleDeckerBar.Views.MessageReceivedEventArgs args) { if ((_MessageReceived == null)) { } else { _MessageReceived.Invoke(this, args); } }
public MessageReceivedEventArgsViewToContractAddInAdapter(DoubleDeckerBar.Views.MessageReceivedEventArgs view) { _view = view; }
public void Handler(object sender, DoubleDeckerBar.Views.MessageReceivedEventArgs args) { _contract.Handler(DoubleDeckerBar.Adapters.MessageReceivedEventArgsAddInAdapter.ViewToContractAdapter(args)); }
internal static Start9.Api.Contracts.IMessageReceivedEventArgsContract ViewToContractAdapter(DoubleDeckerBar.Views.MessageReceivedEventArgs view) { if ((view == null)) { return(null); } if (view.GetType().Equals(typeof(MessageReceivedEventArgsContractToViewAddInAdapter))) { return(((MessageReceivedEventArgsContractToViewAddInAdapter)(view)).GetSourceContract()); } else { return(new MessageReceivedEventArgsViewToContractAddInAdapter(view)); } }