public StateQueueWorkItem ( WorkItem workItem, IContextIdentifierHolder messageBody, WorkItemProcessStatus status ) : base ( workItem //, //null //TODO: **(SD) Extra attention here. I forgot what was the intent ) { _status = status; }
/// <summary> /// Not synchronized! /// </summary> public void SetToSubmittedToExternalRecipientState() { // TODO: We might not need synchronization here (SD) ** lock (_syncRoot) { _status = WorkItemProcessStatus.SubmittedToExternalRecipient; _submittedToExternalRecipientAt = DateTime.UtcNow; } }
public StateQueueWorkItem() { _status = WorkItemProcessStatus.None; }