示例#1
0
 public void StartListen()
 {
     _dispatcher = Dispatcher.CurrentDispatcher;
     _presenceListener.StartListen();
     _onPresence = _dispatcher.Wrap<Client, Presence>(OnPresence);
     _presenceListener.PresenceReceived += _onPresence.Exec;
 }