Esempio n. 1
0
 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;
 }
Esempio n. 2
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;
 }
Esempio n. 3
0
 internal static HandleRef getCPtr(CommonElt obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Esempio n. 4
0
 internal static HandleRef getCPtr(CommonElt obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 5
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);
        }