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