Пример #1
0
        public void ReadWriteTest()
        {
            try
            {
                Modeling.Read();
                Assert.Fail();
            }
            catch (XmlException exception)
            {
                Trace.WriteLine(exception);
            }
            IEnumerable <XElement> items = Modeling.RssItems("https://weblogs.asp.net/dixin/rss");

            Assert.IsTrue(items.Any());
            Modeling.XNodeToString();
            Modeling.Write();
        }