public CommProtocols(CommProtocols other) : this(msclPINVOKE.new_CommProtocols__SWIG_1(CommProtocols.getCPtr(other)), true) { if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public CommProtocolsEnumerator(CommProtocols collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CommProtocols values) { msclPINVOKE.CommProtocols_SetRange(swigCPtr, index, CommProtocols.getCPtr(values)); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual CommProtocols commProtocols() { CommProtocols ret = new CommProtocols(msclPINVOKE.NodeFeatures_commProtocols(swigCPtr), true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static CommProtocols Repeat(WirelessTypes.CommProtocol value, int count) { global::System.IntPtr cPtr = msclPINVOKE.CommProtocols_Repeat((int)value, count); CommProtocols ret = (cPtr == global::System.IntPtr.Zero) ? null : new CommProtocols(cPtr, true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CommProtocols GetRange(int index, int count) { global::System.IntPtr cPtr = msclPINVOKE.CommProtocols_GetRange(swigCPtr, index, count); CommProtocols ret = (cPtr == global::System.IntPtr.Zero) ? null : new CommProtocols(cPtr, true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CommProtocols obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }