public OTRecordList(OTNameLookup theLookup) : this(otapiPINVOKE.new_OTRecordList__SWIG_1(OTNameLookup.getCPtr(theLookup)), true)
 {
     if (otapiPINVOKE.SWIGPendingException.Pending)
     {
         throw otapiPINVOKE.SWIGPendingException.Retrieve();
     }
 }
        public OTNameLookup getCallback()
        {
            global::System.IntPtr cPtr = otapiPINVOKE.OTLookupCaller_getCallback(swigCPtr);
            OTNameLookup          ret  = (cPtr == global::System.IntPtr.Zero) ? null : new OTNameLookup(cPtr, false);

            return(ret);
        }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OTNameLookup obj) {
   return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
 }
 public void setCallback(OTNameLookup cb) {
   otapiPINVOKE.OTLookupCaller_setCallback(swigCPtr, OTNameLookup.getCPtr(cb));
 }
Example #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(OTNameLookup obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public OTRecordList(OTNameLookup theLookup) : this(otapiPINVOKE.new_OTRecordList__SWIG_1(OTNameLookup.getCPtr(theLookup)), true) {
   if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
 }
 public static extern void OTNameLookup_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, OTNameLookup.SwigDelegateOTNameLookup_0 delegate0, OTNameLookup.SwigDelegateOTNameLookup_1 delegate1, OTNameLookup.SwigDelegateOTNameLookup_2 delegate2, OTNameLookup.SwigDelegateOTNameLookup_3 delegate3, OTNameLookup.SwigDelegateOTNameLookup_4 delegate4, OTNameLookup.SwigDelegateOTNameLookup_5 delegate5, OTNameLookup.SwigDelegateOTNameLookup_6 delegate6);
 public void setCallback(OTNameLookup cb)
 {
     otapiPINVOKE.OTLookupCaller_setCallback(swigCPtr, OTNameLookup.getCPtr(cb));
 }