public static void WriteParameterXml(DocumentViewModel document, QueryInfo queryInfo) { var paramXml = GetParameterXml(queryInfo); document.AppendText(paramXml); }