Class DocumentDefinition<T>
Represents a new item to process.
public class DocumentDefinition<T> : IDocumentDefinition
Type Parameters
T
- Inheritance
-
objectDocumentDefinition<T>
- Implements
- Extension Methods
Constructors
DocumentDefinition(string, T)
[JsonConstructor]
public DocumentDefinition(string type, T data)
Parameters
typestringdataT
DocumentDefinition(T)
public DocumentDefinition(T item)
Parameters
itemT
Properties
CorrelationId
Useful to tying a work item back to a "parent" work item just for tracking purposes. This is not used by the system in any way.
public Guid? CorrelationId { get; set; }
Property Value
- Guid?
Data
public T Data { get; set; }
Property Value
- T
DataType
public Type DataType { get; }
Property Value
ParentJobId
Once the processing of the document is complete, the system will automatically queue a "completed job" response for this job id.
public Guid? ParentJobId { get; set; }
Property Value
- Guid?
Type
public string Type { get; set; }