Skip to content

Class DiUsageExample.MyDeviceService

Namespace: Belay.Extensions.Examples
Assembly: Belay.Extensions.dll

Implementation of device service using DI.

csharp
public class DiUsageExample.MyDeviceService : DiUsageExample.IMyDeviceService

Inheritance

objectDiUsageExample.MyDeviceService

Implements

DiUsageExample.IMyDeviceService

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

MyDeviceService(IDeviceFactory, IExecutorFactory, ILogger<MyDeviceService>)

Initializes a new instance of the class.

MyDeviceService(IDeviceFactory, IExecutorFactory, ILogger<MyDeviceService>)

Initializes a new instance of the class.

Methods

RunDeviceOperationsAsync()

Run some operations on a device.

RunDeviceOperationsAsync()

Run some operations on a device.

Released under the Apache License 2.0.