Пример #1
0
 public GpioBehaviorModes(GpioBehaviorModes other) : this(msclPINVOKE.new_GpioBehaviorModes__SWIG_1(GpioBehaviorModes.getCPtr(other)), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Пример #2
0
 public GpioBehaviorModesEnumerator(GpioBehaviorModes collection)
 {
     collectionRef = collection;
     keyCollection = new global::System.Collections.Generic.List <byte>(collection.Keys);
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Пример #3
0
        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);
        }
Пример #4
0
 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);
 }