public void RaiseEvent(EventArgs ea)
 {
     if (SusbcribeCallback != null)
     {
         SusbcribeCallback.Raise(typeof(PubNubUnity), ea);
     }
 }
示例#2
0
 private void RaiseEvent(EventArgs ea)
 {
     if (SusbcribeCallback != null)
     {
         try{
             SusbcribeCallback.Raise(typeof(PubNub), ea);
         }catch (Exception ex) {
             throw new PubNubUserException(ex.Message, ex);
         }
     }
 }