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