Esempio n. 1
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="process"></param>
        /// <param name="descriptor"></param>
        /// <returns></returns>
		public IWfActivity CreateActivity(IWfProcess process, IWfActivityDescriptor descriptor)
		{
			WfActivity activity = new WfActivity(descriptor);
			activity.Process = process;

			return activity;
		}
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="process"></param>
        /// <param name="descriptor"></param>
        /// <returns></returns>
        public IWfActivity CreateActivity(IWfProcess process, IWfActivityDescriptor descriptor)
        {
            WfActivity activity = new WfActivity(descriptor);

            activity.Process = process;

            return(activity);
        }
Esempio n. 3
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="process"></param>
        /// <param name="transParams"></param>
        /// <returns></returns>
		public IWfActivity CreateActivity(IWfProcess process, WfTransferParams transParams)
		{
			WfActivity activity = new WfActivity(transParams.NextActivityDescriptor);
            activity.Operator = transParams.Operator;
			activity.Process = process;

			return activity;
		}
Esempio n. 4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="process"></param>
        /// <param name="transParams"></param>
        /// <returns></returns>
        public IWfActivity CreateActivity(IWfProcess process, WfTransferParams transParams)
        {
            WfActivity activity = new WfActivity(transParams.NextActivityDescriptor);

            activity.Operator = transParams.Operator;
            activity.Process  = process;

            return(activity);
        }