public void execute(XElement parameter, XmlScriptExecutor executor) { if (m_objectBuilder != null) { String values = parameter.Value; m_objectBuilder.setValues(values); } }
public void execute(XElement parameter, XmlScriptExecutor executor) { if (m_macroService != null) { } }
public void execute(XElement parameter, XmlScriptExecutor executor) { foreach (XElement child in parameter.Elements()) { executor.execute(child); } }
public void execute(XElement parameter, XmlScriptExecutor executor) { if (m_macroService != null) { XAttribute name = parameter.Attribute(XName.Get("Id")); XnaScrapId id; if (name == null) { id = XnaScrapId.CreateId(); } else { id = new XnaScrapId(name.Value); } } }
public void execute(XElement parameter, XmlScriptExecutor executor) { if (m_objectBuilder != null) { XAttribute name = parameter.Attribute(XName.Get("Name")); m_objectBuilder.beginParameter(name.Value); foreach (XElement child in parameter.Elements()) { executor.execute(child); } m_objectBuilder.endParameter(); } }
public void execute(XElement parameter, XmlScriptExecutor executor) { if (m_objectBuilder != null) { XAttribute name = parameter.Attribute(XName.Get("Id")); XnaScrapId id; if (name == null) { id = XnaScrapId.CreateId(); } else { id = new XnaScrapId(name.Value); } m_objectBuilder.beginGameObject(id); foreach (XElement child in parameter.Elements()) { executor.execute(child); } m_objectBuilder.endGameObject(); } }