Click or drag to resize
TaskPerformerBasePerform 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.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public virtual 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

Implements

ITaskPerformerPerform(IGenerator, ITask)
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