Initializes a new instance of the CardReaderEventProvider class

Namespace: BasicCard.Framework
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public CardReaderEventProvider(
	ISynchronizeInvoke invokeContext,
	ICardReader[] readersToMonitor,
	CardReaderObserver observer
)
Visual Basic
Public Sub New ( 
	invokeContext As ISynchronizeInvoke,
	readersToMonitor As ICardReader(),
	observer As CardReaderObserver
)
Visual C++
public:
CardReaderEventProvider(
	ISynchronizeInvoke^ invokeContext, 
	array<ICardReader^>^ readersToMonitor, 
	CardReaderObserver^ observer
)
F#
new : 
        invokeContext : ISynchronizeInvoke * 
        readersToMonitor : ICardReader[] * 
        observer : CardReaderObserver -> CardReaderEventProvider

Parameters

invokeContext
Type: System.ComponentModel..::..ISynchronizeInvoke
Context to invoke events in, typically the windows parent form.
readersToMonitor
Type: array<BasicCard.Terminals..::..ICardReader>[]()[][]
Optional reader to monitor for card events. Null to monitor all readers.
observer
Type: BasicCard.Framework..::..CardReaderObserver
Observer to use. If null the static CardReaderObserver.Instance is used.

See Also