示例#1
0
 public PreIteration(ColaResizes resizes) : this(colaPINVOKE.new_PreIteration__SWIG_3(ColaResizes.getCPtr(resizes)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public ColaResizesEnumerator(ColaResizes collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, ColaResizes values)
 {
     colaPINVOKE.ColaResizes_SetRange(swigCPtr, index, ColaResizes.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
 public void AddRange(ColaResizes values)
 {
     colaPINVOKE.ColaResizes_AddRange(swigCPtr, ColaResizes.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending)
     {
         throw colaPINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#5
0
        public static ColaResizes Repeat(Resize value, int count)
        {
            IntPtr      cPtr = colaPINVOKE.ColaResizes_Repeat(Resize.getCPtr(value), count);
            ColaResizes ret  = (cPtr == IntPtr.Zero) ? null : new ColaResizes(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
        public ColaResizes GetRange(int index, int count)
        {
            IntPtr      cPtr = colaPINVOKE.ColaResizes_GetRange(swigCPtr, index, count);
            ColaResizes ret  = (cPtr == IntPtr.Zero) ? null : new ColaResizes(cPtr, true);

            if (colaPINVOKE.SWIGPendingException.Pending)
            {
                throw colaPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#7
0
 public ColaResizesEnumerator(ColaResizes collection)
 {
     collectionRef = collection;
       currentIndex = -1;
       currentObject = null;
       currentSize = collectionRef.Count;
 }
示例#8
0
 internal static HandleRef getCPtr(ColaResizes obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
示例#9
0
 public void SetRange(int index, ColaResizes values)
 {
     colaPINVOKE.ColaResizes_SetRange(swigCPtr, index, ColaResizes.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#10
0
 public void AddRange(ColaResizes values)
 {
     colaPINVOKE.ColaResizes_AddRange(swigCPtr, ColaResizes.getCPtr(values));
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }
示例#11
0
 internal static HandleRef getCPtr(ColaResizes obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
示例#12
0
 public PreIteration(ColaResizes resizes)
     : this(colaPINVOKE.new_PreIteration__SWIG_3(ColaResizes.getCPtr(resizes)), true)
 {
     if (colaPINVOKE.SWIGPendingException.Pending) throw colaPINVOKE.SWIGPendingException.Retrieve();
 }