public ItemIdCollection(ItemIdCollection other) : this(Interop.ItemIdContainer.NewItemIdContainer(ItemIdCollection.getCPtr(other)), true) { if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public ItemIdCollectionEnumerator(ItemIdCollection collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef?.Count ?? 0; }
public void RemoveItems(ItemIdCollection itemIds, float durationSeconds) { Interop.ItemView.RemoveItems(SwigCPtr, ItemIdCollection.getCPtr(itemIds), durationSeconds); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetRange(int index, ItemIdCollection values) { Interop.ItemIdContainer.SetRange(SwigCPtr, index, ItemIdCollection.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
public void AddRange(ItemIdCollection values) { Interop.ItemIdContainer.AddRange(swigCPtr, ItemIdCollection.getCPtr(values)); if (NDalicPINVOKE.SWIGPendingException.Pending) { throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
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); }