Exemplo n.º 1
0
 public PhasorReferenceCollection(PhasorReferenceCollection other) : this(CommonPINVOKE.new_PhasorReferenceCollection__SWIG_1(PhasorReferenceCollection.getCPtr(other)), true)
 {
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public PhasorReferenceCollectionEnumerator(PhasorReferenceCollection collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Exemplo n.º 3
0
 public void SetRange(int index, PhasorReferenceCollection values)
 {
     CommonPINVOKE.PhasorReferenceCollection_SetRange(swigCPtr, index, PhasorReferenceCollection.getCPtr(values));
     if (CommonPINVOKE.SWIGPendingException.Pending)
     {
         throw CommonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
        public static PhasorReferenceCollection Repeat(PhasorReference value, int count)
        {
            global::System.IntPtr     cPtr = CommonPINVOKE.PhasorReferenceCollection_Repeat(PhasorReference.getCPtr(value), count);
            PhasorReferenceCollection ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PhasorReferenceCollection(cPtr, true);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 5
0
        public PhasorReferenceCollection GetRange(int index, int count)
        {
            global::System.IntPtr     cPtr = CommonPINVOKE.PhasorReferenceCollection_GetRange(swigCPtr, index, count);
            PhasorReferenceCollection ret  = (cPtr == global::System.IntPtr.Zero) ? null : new PhasorReferenceCollection(cPtr, true);

            if (CommonPINVOKE.SWIGPendingException.Pending)
            {
                throw CommonPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PhasorReferenceCollection obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }