public MultiwordTokens(MultiwordTokens other) : this(udpipe_csharpPINVOKE.new_MultiwordTokens__SWIG_1(MultiwordTokens.getCPtr(other)), true) { if (udpipe_csharpPINVOKE.SWIGPendingException.Pending) { throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public MultiwordTokensEnumerator(MultiwordTokens collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, MultiwordTokens values) { udpipe_csharpPINVOKE.MultiwordTokens_SetRange(swigCPtr, index, MultiwordTokens.getCPtr(values)); if (udpipe_csharpPINVOKE.SWIGPendingException.Pending) { throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve(); } }
public static MultiwordTokens Repeat(MultiwordToken value, int count) { global::System.IntPtr cPtr = udpipe_csharpPINVOKE.MultiwordTokens_Repeat(MultiwordToken.getCPtr(value), count); MultiwordTokens ret = (cPtr == global::System.IntPtr.Zero) ? null : new MultiwordTokens(cPtr, true); if (udpipe_csharpPINVOKE.SWIGPendingException.Pending) { throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public MultiwordTokens GetRange(int index, int count) { global::System.IntPtr cPtr = udpipe_csharpPINVOKE.MultiwordTokens_GetRange(swigCPtr, index, count); MultiwordTokens ret = (cPtr == global::System.IntPtr.Zero) ? null : new MultiwordTokens(cPtr, true); if (udpipe_csharpPINVOKE.SWIGPendingException.Pending) { throw udpipe_csharpPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MultiwordTokens obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }