public override int OnElt(CommonElt elt) { if (OnEvent != null) { // Because the event is delivered asynchronously we must copy the elt HERE before the native memory (C++) is destroyed. Elt element = Elt.New(elt); EventHandlerTrigger.TriggerEvent<EltEventArgs>(OnEvent, this, new EltEventArgs(element)); } return 0; }
public virtual int OnElt(CommonElt pcElt) { int ret = (SwigDerivedClassHasMethod("OnElt", swigMethodTypes0) ? commonWRAPPINVOKE.CommonMain_OnEltSwigExplicitCommonMain(swigCPtr, CommonElt.getCPtr(pcElt)) : commonWRAPPINVOKE.CommonMain_OnElt(swigCPtr, CommonElt.getCPtr(pcElt))); return ret; }
internal static HandleRef getCPtr(CommonElt obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
internal static HandleRef getCPtr(CommonElt obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
public virtual int OnElt(CommonElt pcElt) { int ret = (SwigDerivedClassHasMethod("OnElt", swigMethodTypes0) ? commonWRAPPINVOKE.CommonMain_OnEltSwigExplicitCommonMain(swigCPtr, CommonElt.getCPtr(pcElt)) : commonWRAPPINVOKE.CommonMain_OnElt(swigCPtr, CommonElt.getCPtr(pcElt))); return(ret); }