Пример #1
0
 public void RaiseEvent(EventArgs ea)
 {
     if (SubscribeCallback != null)
     {
         SubscribeCallback.Raise(typeof(PubNubUnity), ea);
     }
 }
Пример #2
0
 private void RaiseEvent(EventArgs ea)
 {
     if (SubscribeCallback != null)
     {
         try{
             SubscribeCallback.Raise(typeof(PubNub), ea);
         }catch (Exception ex) {
             throw new PubNubUserException(ex.Message, ex);
         }
     }
 }