Click or drag to resize
ITaskPerformerPerform Method (IGenerator, ITask)
Executes the task which is performed by the implementor of ITaskPerformer. It assumes there are no parameters. The method's result should be stored locally and the property PerformResult should reflect the result of this method, when that property is called after the method.

Namespace: SD.LLBLGen.Pro.ApplicationCore
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
void Perform(
	IGenerator executingGenerator,
	ITask taskDefinition
)

Parameters

executingGenerator
Type: SD.LLBLGen.Pro.ApplicationCoreIGenerator
Reference to the generator process executing the task.
taskDefinition
Type: SD.LLBLGen.Pro.ApplicationCoreITask
The definition of the task which called this perform method
Exceptions
ExceptionCondition
GeneratorAbortExceptionWhen the task determines the generation process should abort.
Remarks
When the perform action of a task fails and PerformResult returns false, it will be marked as failed in the result of the execution of the tasks. The generator will not stop performing other tasks unless a task throws a GeneratorAbortException exception.
See Also