示例#1
0
        /// <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;
		}
示例#2
0
        /// <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);
        }
示例#3
0
        /// <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;
		}
示例#4
0
        /// <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);
        }