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