Struct PinValuePair
Simple wrapper for a pin/value pair.
public readonly struct PinValuePair
- Inherited Members
Constructors
PinValuePair(int, PinValue)
Initializes a new instance of the PinValuePair struct.
public PinValuePair(int pinNumber, PinValue pinValue)
Parameters
Properties
PinNumber
The pin number.
public int PinNumber { get; }
Property Value
PinValue
The pin value.
public PinValue PinValue { get; }
Property Value
Methods
Deconstruct(out int, out PinValue)
Deconstructor for convenience. Allows using as a "return Tuple".
public void Deconstruct(out int pinNumber, out PinValue pinValue)