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#
void Run(
	GeneratorEvent generatorEvent,
	EventContext eventContext
)
Visual Basic (Declaration)
Sub Run ( _
	generatorEvent As GeneratorEvent, _
	eventContext As EventContext _
)
Visual C++
void Run(
	GeneratorEvent^ generatorEvent, 
	EventContext^ eventContext
)

Parameters

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

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