Table of Contents

Class BarCodeScanner

Namespace
Acuit.Pinpoint.BarCodeScanning
Assembly
Acuit.Pinpoint.BarCodeScanning.dll

A base class for implementing IBarCodeScanner and IConnectedDevice.

public abstract class BarCodeScanner : ConnectedDevice, IConnectedDevice, IHealthCheck, IDisposable, IAsyncDisposable, IBarCodeScanner
Inheritance
BarCodeScanner
Implements
Derived
Inherited Members

Remarks

Derived classes must do the following:

Constructors

BarCodeScanner(ILogger)

Initializes a new instance of the BarCodeScanner class.

protected BarCodeScanner(ILogger logger)

Parameters

logger ILogger

The logger.

Exceptions

ArgumentNullException

logger is null.

Methods

OnBarCodeScanned(BarCodeScanEventArgs)

Raises the BarCodeScanned event.

protected virtual void OnBarCodeScanned(BarCodeScanEventArgs e)

Parameters

e BarCodeScanEventArgs

The event data.

Events

BarCodeScanned

Occurs when a bar code is scanned.

public event EventHandler<BarCodeScanEventArgs> BarCodeScanned

Event Type

EventHandler<BarCodeScanEventArgs>

Remarks

This event might be raised on a background worker thread.