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