Table of Contents

Class WorkRequest<T>

Namespace
JobFlow.Models.Jobs
Assembly
JobFlow.Models.dll

The work request object. Sent by the system to workers. This version is used when the document data type needs to be known.

public class WorkRequest<T> : IWorkRequest

Type Parameters

T
Inheritance
WorkRequest<T>
Implements

Remarks

TypedTransportDispatcher uses this class. Intended for use when the transport requires a typed document and work request. For example, the Hangfire dispatcher uses this.

Properties

Document

public Document<T> Document { get; set; }

Property Value

Document<T>

Job

public JobModel Job { get; set; }

Property Value

JobModel