Esempio n. 1
0
        public void TestWrapper()
        {
            XmlDocument doc = new XmlDocument();
            XmlWrapper wrapper = new XmlWrapper(doc);

            Assert.AreEqual(doc, wrapper.XmlDocument);
        }
Esempio n. 2
0
 /// <summary>
 /// Constructor to initialise a new configuration
 /// </summary>
 /// <param name="node">The xml node</param>
 /// <param name="wrapper">The xml wrapper</param>
 public XmlDatabaseConfig(IXPathNavigable node, XmlWrapper wrapper)
 {
     _node = node;
     _xmlWrapper = wrapper;
 }