コード例 #1
0
 public GpioFeatureBehaviors(GpioFeatureBehaviors other) : this(msclPINVOKE.new_GpioFeatureBehaviors__SWIG_1(GpioFeatureBehaviors.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
コード例 #2
0
 public GpioFeatureBehaviorsEnumerator(GpioFeatureBehaviors collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <GpioConfiguration.Feature>(collection.Keys);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
コード例 #3
0
        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);
        }
コード例 #4
0
 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);
 }