public static void zXmlExport <T>(this IEnumerable <T> dataList, string file, XmlExportDefinition xmlDefinition = null, bool detail = false) { XmlExport <T> .Export(dataList, file, xmlDefinition, detail); }
public static void Export(IEnumerable <T> dataList, string file, XmlExportDefinition xmlDefinition = null, bool detail = false) { XmlExport <T> xmlExport = new XmlExport <T>(xmlDefinition); xmlExport.Export(dataList, file, detail); }