Click or drag to resize

TaskInfoFactoryTDirective Method

Creates a task info. Replaces using the generic constructor, when the actual type isn't known until runtime.

Namespace:  MFiles.VAF.AppTasks
Assembly:  MFiles.VAF (in MFiles.VAF.dll) Version: 2.3.623.2
Syntax
public static TaskInfo<TDirective> Factory<TDirective>(
	ApplicationTaskInfo appTaskInfo,
	Type directiveType = null
)
where TDirective : TaskDirective

Parameters

appTaskInfo
Type: ApplicationTaskInfo
The original app task info.
directiveType (Optional)
Type: SystemType
The true directive type used by the task. Must be derived from generic type.

Type Parameters

TDirective
The type of directive for the return value.

Return Value

Type: TaskInfoTDirective
The task info.
See Also