Skip to content

Constructor SimpleDevice

Namespace: Belay.Core.Examples
Assembly: Belay.Core.dll

SimpleDevice(DeviceConnection, ILogger<Device>?)

Initializes a new instance of the class.

csharp
public SimpleDevice(DeviceConnection connection, ILogger<Device>? logger = null)

Parameters

connection DeviceConnection

The device connection implementation.

logger ILogger<Device>?

Optional logger for device operations.

Released under the Apache License 2.0.