Exemplo n.º 1
0
        public void TestMethod1()
        {
            var instance = new Instance1();
            var parser   = new CommandLineParser("array", instance);

            parser.ParseCommandLine("array");
            Assert.IsNotNull(instance.Arguments);
            Assert.AreEqual(0, instance.Arguments.Length);
        }
Exemplo n.º 2
0
        public void WriteXml(System.Xml.XmlWriter writer)
        {
			Instance1.WriteXml(writer);
            Instance2.WriteXml(writer);
        }