示例#1
0
        public void SaveReportMetadata <T>(ExamResultMetadata <T> reportMetadata) where T : BaseCheckResult
        {
            var         outPath = getOutPath();
            var         xml     = CommunicationHelper.SerializerToXml(reportMetadata);
            XmlDocument doc     = new XmlDocument();

            doc.LoadXml(xml);
            doc.Save(outPath + "Report_" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss:ffff") + ".xml");
        }