public ReceiveRequest() { OperationNames = new ObservableCollection <string>(); requestResultEvaluator = TaskFuncEvaluator.CreateActivityDelegate(); Constraints.Add(OperationActivityHelper.VerifyParentIsWorkflowActivity()); Constraints.Add(OperationActivityHelper.VerifyIsOperationNameSet()); Constraints.Add(OperationActivityHelper.SetAffectorOperationNames()); Constraints.Add(ReceiveRequestSendResponseScopeHelper.VerifyParentIsReceiveRequestSendResponseScope()); }
public SendResponse() { persist = new Persist(); Constraints.Add(OperationActivityHelper.VerifyParentIsWorkflowActivity()); Constraints.Add(ReceiveRequestSendResponseScopeHelper.VerifyParentIsReceiveRequestSendResponseScope()); }