BaseJobDefinitionConverterSerialize(JobDefinition, Stream, ActionEventHandlerProcessingStageFinishedEventArgs) Method |
Serializes a given job into a stream by preprocessing the job with a dry-run.
Namespace: RAYLASE.Marker.JobAssembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntaxpublic virtual void Serialize(
JobDefinition jobDefinition,
Stream targetStream,
Action<EventHandler<ProcessingStageFinishedEventArgs>> dryRunner
)
Parameters
- jobDefinition JobDefinition
- The source job.
- targetStream Stream
- The stream to write to.
- dryRunner ActionEventHandlerProcessingStageFinishedEventArgs
- The dry-run executor to preprocess the serialization.
See Also