public void HandleEvent(NoticeEvent evt, ISession session) { }
public void HandleEvent(NoticeEvent noticeEvent, ISession session) { Write(noticeEvent.ToString()); }
private static void HandleEvent(NoticeEvent noticeEvent, ISession session) { Logger.Write(noticeEvent.ToString()); }
public void Send(NoticeEvent message) => _publisher.Publish(message);
public void HandleEvent(NoticeEvent evt, ISession session) { Logger.Write(evt.ToString(), session: session); }
public void Init() { mPage = 1; mNoticeEvent = new NoticeEvent(ReceivedNotice); NetMgr.GetNotice(mNoticeEvent); }
private static void HandleEvent(NoticeEvent noticeEvent, ISession session) { TestPostMessage(noticeEvent.ToString()); }
protected virtual void OnNotice(RemoteServer server, ReasonEventArgs args) { NoticeEvent?.Invoke(server, args); }
protected virtual void RaiseNoticeEvent(TokenEventArgs e) { NoticeEvent?.Invoke(this, e); }