Beispiel #1
0
 ActionBase IActionVisitor <XElement, ActionBase> .Visit(ActionGoToLabel action, XElement xAction)
 {
     action.Label = xAction.RequiredStringAttribute("label");
     return(action);
 }
Beispiel #2
0
 XElement IActionVisitor <XElement, XElement> .Visit(ActionGoToLabel action, XElement arg)
 {
     arg.Add(new XAttribute("label", action.Label));
     return(arg);
 }