Пример #1
0
        private Process CreateProcessFromProjectItem(ProjectItem baseProjectItem)
        {
            Process process = CreatePublicProcessContainer(baseProjectItem);
            FixedList <ProjectItem> branch = baseProjectItem.GetBranch();

            for (int i = 1; i < branch.Count; i++)
            {
                var projectItem = branch[i];

                var step = CreateProcessStep(process, projectItem, i - 1);

                // process.Add(step);
            }

            return(process);
        }