Initialize the context of the generator.

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

Syntax

C#
public GeneratorContext(
	string n,
	ServiceContext sc,
	IInitialization i,
	ILogger l,
	EventPriority dp
)
Visual Basic (Declaration)
Public Sub New ( _
	n As String, _
	sc As ServiceContext, _
	i As IInitialization, _
	l As ILogger, _
	dp As EventPriority _
)
Visual C++
public:
GeneratorContext(
	String^ n, 
	ServiceContext^ sc, 
	IInitialization^ i, 
	ILogger^ l, 
	EventPriority dp
)

Parameters

n
Type: System..::.String
Name of the generator.
sc
Type: LeCouteauSuisse.API..::.ServiceContext
The service context.
i
Type: LeCouteauSuisse.API..::.IInitialization
The IInitialization interface to read settings.
l
Type: LeCouteauSuisse.API..::.ILogger
The ILogger interface to send message to loggers.
dp
Type: LeCouteauSuisse.API..::.EventPriority
The default priority of all event of the generator.

See Also