Click or drag to resize
ITask Interface
Interface for the task instances, which are stored in ITaskGroup instances

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public interface ITask : ITaskGroupElement, ISupportedAspectsInfo, 
	INotifyAsChanged

The ITask type exposes the following members.

Properties
  NameDescription
Public propertyAssemblyFilename
The filename of the assembly which holds the code for the task performer class
Public propertyDependencies
Gets the names of the tasks/ taskgroups this task depends on.
(Inherited from ITaskGroupElement.)
Public propertyDescription
Gets or sets the description of the element
(Inherited from ITaskGroupElement.)
Public propertyDisplayName
Gets or sets the display name for this element. If display name isn't set or set to an empty string, Name is returned.
(Inherited from ITaskGroupElement.)
Public propertyElementLogNode
Gets or sets the element log node.
(Inherited from ITaskGroupElement.)
Public propertyForSpecificDatabase
Gets or sets the perform for specific database setting. Default is an empty string (which gives the v2.x behavior: run once). Other possible values are "All" (run for all databases in the project once) or the driverID of the database to target.
(Inherited from ITaskGroupElement.)
Public propertyLogLineHandler
The handler of the LogLineInApplicationOutputCallBack. Setting this property will allow the generator and any task or taskgroup to log text on the application output window.
(Inherited from ITaskGroupElement.)
Public propertyName
The name of the element
(Inherited from ITaskGroupElement.)
Public propertyNameToUseForLogging
Name to use for logging of actions on task group element. This is by default the display name. If the display name differs from the Name, it will use the format: display name (name)
(Inherited from ITaskGroupElement.)
Public propertyParameters
The list of parameters of this task.
Public propertyPerformer
The performer instance which will be used to perform this task.
Public propertyRequiresCleanCache
Gets or sets a value indicating whether this task requires that the task cache is cleaned before the task is executed.
(Inherited from ITaskGroupElement.)
Public propertySupportedFrameworks
Gets the supported frameworks.
(Inherited from ISupportedAspectsInfo.)
Public propertySupportedPlatforms
Gets the supported platform names.
(Inherited from ISupportedAspectsInfo.)
Public propertySupportedTemplateGroups
Gets the supported template group names
(Inherited from ISupportedAspectsInfo.)
Public propertyTaskPerformerClass
The classname of the performer of this task.
Public propertyType
Type of the element
(Inherited from ITaskGroupElement.)
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
(Inherited from ITaskGroupElement.)
Public methodLoadTaskPerformerAssembly
Loads for this task the task performer assembly and class and adds the instance to this task instance
Public methodPerform
Makes sure the element is performed. If the element is an ITaskGroup, all tasks and taskgroups inside the taskgroup are performed. If the element is an ITask, the Perform method of the ITaskperformer is called.
(Inherited from ITaskGroupElement.)
Top
Events
  NameDescription
Public eventHasBeenChanged
Raised when the implementing element has been changed
(Inherited from INotifyAsChanged.)
Top
Remarks
The interface is not really necessary but as 3rd party code will likely rely on the interface being present, it's kept.
See Also