Represents the data used to fill in values when transforming the Static/index.xslt stylesheet into HTML.
Example #1
0
        public void UtilityIndexToXml()
        {
            Index index = new Index();
            var xml = index.ToXml() as XmlDocument;
            Assert.IsNotNull(xml);

            var xmls = xml.InnerXml;
            Assert.IsTrue(xmls.StartsWith(@"<?xml version=""1.0"" encoding=""utf-16""?><Index", StringComparison.Ordinal));
            Assert.IsTrue(xmls.Contains("<Version>" + GetType().Assembly.GetName().Version.ToString(2) + "</Version>"));
        }
Example #2
0
 public void UtilityIndexTransform()
 {
     Index index = new Index();
     string html = index.Transform();
     Assert.IsFalse(string.IsNullOrEmpty(html));
 }