public void Add(Event x) { EfficioRuntimePINVOKE.EventCollection_Add(swigCPtr, Event.getCPtr(x)); if (EfficioRuntimePINVOKE.SWIGPendingException.Pending) { throw EfficioRuntimePINVOKE.SWIGPendingException.Retrieve(); } }