Example #1
0
 public XmlExport(XmlExportDefinition xmlDefinition = null)
 {
     if (xmlDefinition == null)
     {
         xmlDefinition = new XmlExportDefinition();
     }
     _xmlDefinition = xmlDefinition;
 }
Example #2
0
 public static void zXmlExport <T>(this IEnumerable <T> dataList, string file, XmlExportDefinition xmlDefinition = null, bool detail = false)
 {
     XmlExport <T> .Export(dataList, file, xmlDefinition, detail);
 }
Example #3
0
        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);
        }