public GpioBehaviorModes(GpioBehaviorModes other) : this(msclPINVOKE.new_GpioBehaviorModes__SWIG_1(GpioBehaviorModes.getCPtr(other)), true) { if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public GpioBehaviorModesEnumerator(GpioBehaviorModes collection) { collectionRef = collection; keyCollection = new global::System.Collections.Generic.List <byte>(collection.Keys); currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public GpioBehaviorModes supportedGpioBehaviors(GpioConfiguration.Feature feature) { GpioBehaviorModes ret = new GpioBehaviorModes(msclPINVOKE.MipNodeFeatures_supportedGpioBehaviors(swigCPtr, (int)feature), true); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(GpioBehaviorModes obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }