Click or drag to resize

TaskPerformerBasePerform 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.GeneratorCore
Assembly:  SD.LLBLGen.Pro.GeneratorCore (in SD.LLBLGen.Pro.GeneratorCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public abstract 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.

Implements

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