Inheritance: Displayable
        public new static ContactNym ot_dynamic_cast(Storable pObject)
        {
            IntPtr     cPtr = otapiPINVOKE.ContactNym_ot_dynamic_cast(Storable.getCPtr(pObject));
            ContactNym ret  = (cPtr == IntPtr.Zero) ? null : new ContactNym(cPtr, false);

            return(ret);
        }
Exemple #2
0
        public ContactNym GetContactNym(uint nIndex)
        {
            IntPtr     cPtr = otapiPINVOKE.Contact_GetContactNym(swigCPtr, nIndex);
            ContactNym ret  = (cPtr == IntPtr.Zero) ? null : new ContactNym(cPtr, false);

            return(ret);
        }
Exemple #3
0
        public bool AddContactNym(ContactNym disownObject)
        {
            bool ret = otapiPINVOKE.Contact_AddContactNym(swigCPtr, ContactNym.getCPtr(disownObject));

            if (otapiPINVOKE.SWIGPendingException.Pending)
            {
                throw otapiPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
 internal static HandleRef getCPtr(ContactNym obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 internal static HandleRef getCPtr(ContactNym obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public bool AddContactNym(ContactNym disownObject)
 {
     bool ret = otapiPINVOKE.Contact_AddContactNym(swigCPtr, ContactNym.getCPtr(disownObject));
     if (otapiPINVOKE.SWIGPendingException.Pending) throw otapiPINVOKE.SWIGPendingException.Retrieve();
     return ret;
 }