コード例 #1
0
        public static IWfProcessDescriptor CreateFreeStepsProcessDescriptor(params IUser[] approvers)
        {
            string processKey = UuidHelper.NewUuidString();

            WfFreeStepsProcessBuilder builder = new WfFreeStepsProcessBuilder(
                Define.DefaultApplicationName,
                Define.DefaultProgramName,
                approvers);

            return builder.Build(processKey, "测试流程");
        }
コード例 #2
0
        public static IWfProcessDescriptor CreateFreeStepsProcess(params IUser[] stepUsers)
        {
            WfFreeStepsProcessBuilder builder = new WfFreeStepsProcessBuilder("TestApp", "TestProg", stepUsers);

            return builder.Build(UuidHelper.NewUuidString(), "FreeSteps");
        }