Class WorkRequest<T>
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; }