Click or drag to resize

TaskManagerCreateRunQueueFromPreset Method

Creates from the preset passed in a run queue. This run queue is created from the tasks and task groups presented in the preset. The run queue is used to be altered by the user or selected as-is. The Run queue is in fact a taskgroup which can be used by the generator object directly. The name of the Preset is used for the name of the taskgroup.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.Tasks
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public RunQueue CreateRunQueueFromPreset(
	Preset toApply,
	string platformName,
	string templateGroupName,
	string frameworkName
)

Parameters

toApply
Type: SD.LLBLGen.Pro.ApplicationCore.CodeGenerationMetaData.TasksPreset
To apply.
platformName
Type: SystemString
Name of the platform, is used to filter out optional elements in taskgroups refered to in the preset
templateGroupName
Type: SystemString
Name of the template group, is used to filter out optional elements in taskgroups refered to in the preset
frameworkName
Type: SystemString
Name of the framework, is used to filter out optional elements in taskgroups refered to in the preset.

Return Value

Type: RunQueue
runqueue with tasks and taskgroups matching the preset and the platformname/templategroupname/frameworkname
See Also