Class NanoDevice<T>
- Namespace
- nanoFramework.Tools.Debugger
- Assembly
- nanoFramework.Tools.DebugLibrary.Net.dll
public class NanoDevice<T> : NanoDeviceBase, INotifyPropertyChanged, IDisposable, INanoDevice where T : new()
Type Parameters
T
- Inheritance
-
NanoDevice<T>
- Implements
- Inherited Members
- Extension Methods
Constructors
NanoDevice()
public NanoDevice()
Properties
Device
public T Device { get; set; }
Property Value
- T
DeviceId
public string DeviceId { get; set; }
Property Value
Methods
Connect()
Connect to nanoFramework device
public ConnectPortResult Connect()
Returns
- ConnectPortResult
ConnectPortResult result after attempting to connect to the device.
Disconnect(bool)
Disconnect nanoFramework device
public override void Disconnect(bool force = false)
Parameters
force
bool
Dispose()
Standard Dispose method for releasing resources such as the connection to the device.
public void Dispose()
~NanoDevice()
protected ~NanoDevice()