Example #1
0
 public SipMultipartPartVector(SipMultipartPartVector other) : this(pjsua2PINVOKE.new_SipMultipartPartVector__SWIG_1(SipMultipartPartVector.getCPtr(other)), true)
 {
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public SipMultipartPartVectorEnumerator(SipMultipartPartVector collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, SipMultipartPartVector values)
 {
     pjsua2PINVOKE.SipMultipartPartVector_SetRange(swigCPtr, index, SipMultipartPartVector.getCPtr(values));
     if (pjsua2PINVOKE.SWIGPendingException.Pending)
     {
         throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
    public static SipMultipartPartVector Repeat(SipMultipartPart value, int count)
    {
        global::System.IntPtr  cPtr = pjsua2PINVOKE.SipMultipartPartVector_Repeat(SipMultipartPart.getCPtr(value), count);
        SipMultipartPartVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SipMultipartPartVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public SipMultipartPartVector GetRange(int index, int count)
    {
        global::System.IntPtr  cPtr = pjsua2PINVOKE.SipMultipartPartVector_GetRange(swigCPtr, index, count);
        SipMultipartPartVector ret  = (cPtr == global::System.IntPtr.Zero) ? null : new SipMultipartPartVector(cPtr, true);

        if (pjsua2PINVOKE.SWIGPendingException.Pending)
        {
            throw pjsua2PINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SipMultipartPartVector obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }