This method will receive each event sending by subcribed generators.

Namespace:  LeCouteauSuisse.API
Assembly:  LeCouteauSuisseAPI (in LeCouteauSuisseAPI.dll) Version: 1.0.0.2 (1.0.0.2)

Syntax

C#
public abstract void Run(
	GeneratorEvent generatorEvent,
	EventContext eventContext
)
Visual Basic (Declaration)
Public MustOverride Sub Run ( _
	generatorEvent As GeneratorEvent, _
	eventContext As EventContext _
)
Visual C++
public:
virtual void Run(
	GeneratorEvent^ generatorEvent, 
	EventContext^ eventContext
) abstract

Parameters

generatorEvent
Type: LeCouteauSuisse.API..::.GeneratorEvent
The event generated.
eventContext
Type: LeCouteauSuisse.API..::.EventContext
The event context.

Implements

IReceiver..::.Run(GeneratorEvent, EventContext)

Remarks

This is the core of the receiver, you must implement this method to receive and process events. This method is call by the service and run inside a dedicated thread.

See Also