TaskGroupClone Method (Boolean) |
Creates a new object that is a copy of the current instance.
Namespace:
SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.10.0.0 (5.10.0)
Syntax public TaskGroupElement Clone(
bool includingContents
)
Public Function Clone (
includingContents As Boolean
) As TaskGroupElement
Parameters
- includingContents
- Type: SystemBoolean
if true, it will also clone the contents of the group, if false, it won't. Default: false
Return Value
Type:
TaskGroupElement
A new object that is a copy of this instance.
Remarks use this method to create a copy to be used for the runtime queue. This clone method assumes the clone is made from the definition object
read from a .tasks file and to be used for the runqueue, so objects to be used during a task run aren't assumed to be live in the definition object,
like the taskperformer object, and therefore that object isn't cloned.
See Also