Characteristic Locus
Inheritance System.Object > PortBase<C> > AnalogPortBase > DigitalPortBase
Namespace Meadow.Hardware
Assembly Meadow.dll

Syntax

public abstract class PortBase<C> : IPort<C> where C : class, IChannelInfo

Type Parameters

Name Description
C

Constructors

PortBase(IPin, C)

Declaration
protected PortBase(IPin pin, C channel)

Parameters

Type Name Description
IPin pin
C channel

Fields

disposed

Declaration
protected bool disposed

Field Value

Type Description
System.Boolean

Properties

Channel

Declaration
public C Channel { get; }

Property Value

Type Description
C

Pin

Declaration
public IPin Pin { get; protected set; }

Property Value

Type Description
IPin

Methods

Dispose()

Declaration
public void Dispose()

Dispose(Boolean)

Declaration
protected virtual void Dispose(bool disposing)

Parameters

Type Name Description
System.Boolean disposing