Inheritance: Displayable
Exemplo n.º 1
0
        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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 internal static HandleRef getCPtr(ContactNym obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 5
0
 internal static HandleRef getCPtr(ContactNym obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 6
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;
 }