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