Click or drag to resize
ITaskPerformerPerform Method (IGenerator, ITask, DictionaryString, TaskParameter)
Executes the task which is performed by the implementor of ITaskPerformer. 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,
	Dictionary<string, TaskParameter> parameters
)

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
parameters
Type: System.Collections.GenericDictionaryString, TaskParameter
Dictionary which contains per parametername (key) the TaskParameter object representing the parameter.
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