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.1.0.0 (5.1.0)
Syntax void Perform(
IGenerator executingGenerator,
ITask taskDefinition,
Dictionary<string, TaskParameter> parameters
)
Sub Perform (
executingGenerator As IGenerator,
taskDefinition As ITask,
parameters As Dictionary(Of String, TaskParameter)
)
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 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