示例#1
0
 public static void Save(this ModelDescriptor model, string path)
 {
     XmlWriterUtils.ToXmlFile(path, writer => model.ToXml(writer), true);
 }
示例#2
0
        public static void AssertContent(this TestCase testCase, XmlDocument actual, string resultName, bool rebaseline)
        {
            var actualContent = XmlWriterUtils.ToXmlString(writer => actual.WriteTo(writer));

            testCase.AssertContent(actualContent, resultName, rebaseline);
        }