Show / Hide Table of Contents

    Struct PinValuePair

    Simple wrapper for a pin/value pair.

    Inherited Members
    ValueType.Equals(Object)
    Object.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Namespace: System.Device.Gpio
    Assembly: System.Device.Gpio.dll
    Syntax
    public readonly struct PinValuePair

    Constructors

    | Improve this Doc View Source

    PinValuePair(Int32, PinValue)

    Initializes a new instance of the PinValuePair struct.

    Declaration
    public PinValuePair(int pinNumber, PinValue pinValue)
    Parameters
    Type Name Description
    Int32 pinNumber

    The pin number.

    PinValue pinValue

    The pin value.

    Properties

    | Improve this Doc View Source

    PinNumber

    The pin number.

    Declaration
    public readonly int PinNumber { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    PinValue

    The pin value.

    Declaration
    public readonly PinValue PinValue { get; }
    Property Value
    Type Description
    PinValue

    Methods

    | Improve this Doc View Source

    Deconstruct(out Int32, out PinValue)

    Deconstructor for convenience. Allows using as a "return Tuple".

    Declaration
    public readonly void Deconstruct(out int pinNumber, out PinValue pinValue)
    Parameters
    Type Name Description
    Int32 pinNumber
    PinValue pinValue

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX