internal static OrchestrationStep Load(UserJourney journey, string path, XElement node, ObjectIndex references)
        {
            OrchestrationStep item = new OrchestrationStep(path, node, references, journey);

            // fill data

            return(item);
        }
示例#2
0
        internal static UserJourney Load(Policy policy, string path, XElement node, ObjectIndex references)
        {
            UserJourney item = new UserJourney(path, node, node.Attribute("Id").Value, references, policy);

            // fill data
            item.OrchestrationSteps = new List <OrchestrationStep>();
            foreach (var step in item.XmlNode.Element(PolicyItem.ns + "OrchestrationSteps").Elements(PolicyItem.ns + "OrchestrationStep"))
            {
                item.OrchestrationSteps.Add(OrchestrationStep.Load(item, path, step, references));
            }
            return(item);
        }