コード例 #1
0
 public ItemIdCollection(ItemIdCollection other) : this(Interop.ItemIdContainer.NewItemIdContainer(ItemIdCollection.getCPtr(other)), true)
 {
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public ItemIdCollectionEnumerator(ItemIdCollection collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef?.Count ?? 0;
 }
コード例 #3
0
 public void RemoveItems(ItemIdCollection itemIds, float durationSeconds)
 {
     Interop.ItemView.RemoveItems(SwigCPtr, ItemIdCollection.getCPtr(itemIds), durationSeconds);
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #4
0
 public void SetRange(int index, ItemIdCollection values)
 {
     Interop.ItemIdContainer.SetRange(SwigCPtr, index, ItemIdCollection.getCPtr(values));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #5
0
 public void AddRange(ItemIdCollection values)
 {
     Interop.ItemIdContainer.AddRange(swigCPtr, ItemIdCollection.getCPtr(values));
     if (NDalicPINVOKE.SWIGPendingException.Pending)
     {
         throw NDalicPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #6
0
        public static ItemIdCollection Repeat(uint value, int count)
        {
            global::System.IntPtr cPtr = Interop.ItemIdContainer.Repeat(value, count);
            ItemIdCollection      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ItemIdCollection(cPtr, true);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #7
0
        public ItemIdCollection GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = Interop.ItemIdContainer.GetRange(SwigCPtr, index, count);
            ItemIdCollection      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new ItemIdCollection(cPtr, true);

            if (NDalicPINVOKE.SWIGPendingException.Pending)
            {
                throw NDalicPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
コード例 #8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ItemIdCollection obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.SwigCPtr);
 }