예제 #1
0
 public EventRequestWorkflowMessage(string entityType, string entityId, string eventCode, string jsonState) : this()
 {
     EntityId   = entityId;
     EntityType = entityType;
     EventCode  = eventCode;
     State      = new WorkflowMessageState(jsonState);
 }
 protected WorkflowMessage(Guid workflowId, Guid?workflowInstanceId, JsonState jsonState)
 {
     WorkflowId         = workflowId;
     WorkflowMessageId  = Guid.NewGuid();
     WorkflowInstanceId = workflowInstanceId;
     State = new WorkflowMessageState(jsonState);
 }