  | JobBuilderGenerateT(Int32, ActionRecordWriterT, ProgressContext) Method | 
            Generates records using a task that takes no input.
            
Namespace: Ookii.Jumbo.Jet.Jobs.BuilderAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic StageOperation Generate<T>(
	int taskCount,
	Action<RecordWriter<T>, ProgressContext> generator
)
Public Function Generate(Of T) ( 
	taskCount As Integer,
	generator As Action(Of RecordWriter(Of T), ProgressContext)
) As StageOperation
public:
generic<typename T>
StageOperation^ Generate(
	int taskCount, 
	Action<RecordWriter<T>^, ProgressContext^>^ generator
)
member Generate : 
        taskCount : int * 
        generator : Action<RecordWriter<'T>, ProgressContext> -> StageOperation Parameters
- taskCount  Int32
 - The task count.
 - generator  ActionRecordWriterT, ProgressContext
 - The generator function.
 
Type Parameters
- T
 - The type of the records.
 
Return Value
StageOperationA 
StageOperation instance that can be used to further customize the operation.
Remarks
              This method generates a class implementing ITaskTInput, TOutput which calls the target method of the generator delegate
              from the Run(RecordReaderTInput, RecordWriterTOutput) method.
            
   Note | 
|---|
| 
              The task method will be called from a completely different process than the one that is using JobBuilder, so it should not really
              on any external state.
             | 
              You can set the Progress property to report progress of the generation process.
            
              The target method must be a public static method.
            
See Also