Example #1
0
        private bool CaptureBrokenStep(ProcessBase process, string message)
        {
            this.ProgressUri = process.WorkItemEndpointAddress;
            BrokenStep       = process.GetType().Name;
            Console.WriteLine(new string('-', 21 + message.Length));
            Console.WriteLine("Broken step Warning: {0}", message);
            Console.WriteLine(new string('-', 21 + message.Length));

            return(false);
        }
        private IEnumerator Start()
        {
            //流程初始化失败
            if (!InitializeProcedures())
            {
                yield break;
            }
            yield return(new WaitForEndOfFrame());

            //流程开始
            m_IProcessManager.StartProcess(m_EntranceProcess.GetType());
        }