public PEventBuilder(PEventBuilder other) : this(PapillonPINVOKE.new_PEventBuilder__SWIG_3(PEventBuilder.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PEventBuilder Annotation(string eventAnnotation) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Annotation(swigCPtr, eventAnnotation), false); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PEventBuilder Id(PGuid eventId) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Id(swigCPtr, PGuid.getCPtr(eventId)), false); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PEventBuilder Payload(string key, PObject value) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Payload__SWIG_1(swigCPtr, key, PObject.getCPtr(value)), false); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PEventBuilder DetectionTime(PDateTime detectionTime) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_DetectionTime(swigCPtr, PDateTime.getCPtr(detectionTime)), false); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public PEventBuilder Payload(PProperties payload) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Payload__SWIG_0(swigCPtr, PProperties.getCPtr(payload)), false); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PEventBuilder Create(string type) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEvent_Create__SWIG_2(type), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static PEventBuilder Create(string type, string annotation, PGuid sourceId) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEvent_Create__SWIG_0(type, annotation, PGuid.getCPtr(sourceId)), true); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PEventBuilder obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PEventBuilder Composed(bool isComposed) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Composed(swigCPtr, isComposed), false); return(ret); }
public PEventBuilder TimeGranularity(PEvent.EEventTimeGranularity timeGranularity) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_TimeGranularity(swigCPtr, (int)timeGranularity), false); return(ret); }
public PEventBuilder Certainty(double certainty) { PEventBuilder ret = new PEventBuilder(PapillonPINVOKE.PEventBuilder_Certainty(swigCPtr, certainty), false); return(ret); }