Click or drag to resize
TaskManagerCreateTaskGroupFromPreset Method
Creates from the preset passed in a Taskgroup. This task group is created from the tasks and task groups presented in the preset. The task group is used to be altered by the user. The task group 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.1.0.0 (5.1.0)
Syntax
public TaskGroup CreateTaskGroupFromPreset(
	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 a the preset
templateGroupName
Type: SystemString
Name of the template group, is used to filter out optional elements in taskgroups refered to in a 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: TaskGroup
task group with tasks and taskgroups matching the preset and the platformname/templategroupname
See Also