Exemple #1
0
        public override void ReadProcessData(XmlElement xmlElement)
        {
            DefinitionObject parent = creationContext.DefinitionObject;

            creationContext.DefinitionObject = this;
            base.ReadProcessData(xmlElement);
            creationContext.DefinitionObject = parent;
            From = creationContext.Node;

            creationContext.AddUnresolvedReference(this, xmlElement.GetProperty("to"), creationContext.TransitionDestinationScope, "to", typeof(Node));
        }
Exemple #2
0
        public void ReadProcessData(XmlElement xmlElement)
        {
            DefinitionObject definitionObject = creationContext.DefinitionObject;

            this.DefinitionObjectId = definitionObject.Id;

            EventType = (EventType)Enum.Parse(typeof(EventType), xmlElement.GetAttribute("event").ToUpper());

            creationContext.DelegatingObject = this;
            this.ActionDelegation            = new DelegationDef(creationContext);
            this.ActionDelegation.ReadProcessData(xmlElement);

            creationContext.DelegatingObject = null;
        }