コード例 #1
0
        public void ResetXmlString()
        {
            string           expected = "<good bye=\"bye\"/>";
            XmlStringBuilder sb       = new XmlStringBuilder("hello");

            sb.Reset("good").AddAttribute("bye", "bye");

            Assert.AreEqual(expected, sb.ToString());
        }