public ComponentVector(ComponentVector other) : this(SharpMochaPINVOKE.new_ComponentVector__SWIG_1(ComponentVector.getCPtr(other)), true) { if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public ComponentVectorEnumerator(ComponentVector collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, ComponentVector values) { SharpMochaPINVOKE.ComponentVector_SetRange(swigCPtr, index, ComponentVector.getCPtr(values)); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } }
public static ComponentVector Repeat(Component value, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.ComponentVector_Repeat(Component.getCPtr(value), count); ComponentVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public ComponentVector GetRange(int index, int count) { global::System.IntPtr cPtr = SharpMochaPINVOKE.ComponentVector_GetRange(swigCPtr, index, count); ComponentVector ret = (cPtr == global::System.IntPtr.Zero) ? null : new ComponentVector(cPtr, true); if (SharpMochaPINVOKE.SWIGPendingException.Pending) { throw SharpMochaPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ComponentVector obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }