public override void ToXML(i32 lvl, StringBuilderEx sb) { sb.AppendTabs(lvl).AppendFormat("<{0} type=\"{1}\">", this.Name, this.TypeName).AppendLine(); sb.AppendTabs(lvl + 1).AppendFormat("<ExeName type=\"string\">{0}</ExeName>", this.ExeName_stub).AppendLine(); sb.AppendTabs(lvl + 1).AppendFormat("<args type=\"string\">{0}</args>", this.Psi.Arguments).AppendLine(); sb.AppendTabs(lvl + 1).AppendFormat("<CancelOnError type=\"bool\">{0}</CancelOnError>", this.CancelOnError ? "true" : "false").AppendLine(); sb.AppendTabs(lvl).AppendFormat("</{1}>", this.Name).AppendLine(); }
public override void ToXML(i32 lvl, StringBuilderEx sb) { sb.AppendTabs(lvl).AppendFormat("<{0} type=\"{1}\">", this.Name, this.TypeName).AppendLine(); foreach (Node_base nd in this.Children) { nd.ToXML(lvl + 1, sb); } sb.AppendTabs(lvl).AppendFormat("</{0}>", this.Name).AppendLine(); }
public override void ToXML(i32 lvl, StringBuilderEx sb) { sb.AppendTabs(lvl).AppendFormat("<{0} type=\"{1}\">", this.Name, this.TypeName).AppendLine(); sb.AppendTabs(lvl + 1); this.m_Variables.ToXML(lvl + 1, sb); sb.AppendTabs(lvl + 1); this.Commands.ToXML(lvl + 1, sb); sb.AppendTabs(lvl).AppendFormat("</{0}>", this.Name).AppendLine(); }