/// <summary> /// /// </summary> /// <param name="process"></param> /// <param name="descriptor"></param> /// <returns></returns> public IWfAnchorActivity CreateAnchorActivity(IWfProcess process, IWfAnchorActivityDescriptor descriptor) { WfAnchorActivity activity = new WfAnchorActivity(descriptor); activity.Process = process; return activity; }
/// <summary> /// /// </summary> /// <param name="process"></param> /// <param name="descriptor"></param> /// <returns></returns> public IWfAnchorActivity CreateAnchorActivity(IWfProcess process, IWfAnchorActivityDescriptor descriptor) { WfAnchorActivity activity = new WfAnchorActivity(descriptor); activity.Process = process; return(activity); }
/// <summary> /// /// </summary> /// <param name="process"></param> /// <param name="transParams"></param> /// <returns></returns> public IWfAnchorActivity CreateAnchorActivity(IWfProcess process, WfBranchesTransferParams transParams) { WfAnchorActivity activity = new WfAnchorActivity((IWfAnchorActivityDescriptor)transParams.NextActivityDescriptor); activity.Process = process; activity.Operations.Add(CreateOperation(activity, transParams)); return activity; }
/// <summary> /// /// </summary> /// <param name="process"></param> /// <param name="transParams"></param> /// <returns></returns> public IWfAnchorActivity CreateAnchorActivity(IWfProcess process, WfBranchesTransferParams transParams) { WfAnchorActivity activity = new WfAnchorActivity((IWfAnchorActivityDescriptor)transParams.NextActivityDescriptor); activity.Process = process; activity.Operations.Add(CreateOperation(activity, transParams)); return(activity); }