Esempio n. 1
0
 public void can_load_xml_from_assembly_reflection()
 {
     var assembly = typeof(Class1).Assembly;
     var xmlDoc = new XmlAssemblyDocument(Path.ChangeExtension(assembly.GetFilePath(), "XML"));
     Assert.NotNull(xmlDoc);
 }
Esempio n. 2
0
 public XmlDocFacts()
 {
     var testDllLocation = typeof(TestLibrary1.FlagsEnum).Assembly.Location;
     var textXmlLocation = Path.ChangeExtension(testDllLocation, "XML");
     Docs = new XmlAssemblyDocument(textXmlLocation);
 }