Esempio n. 1
0
		public void RenderCustomer()
		{
			Customer c = BuildCustomer();

			CustomerTemplate ct = new CustomerTemplate();
			ct.customer = c;

			XmlWriter writer = XmlWriter.Create(Console.Out);
			ct.Render(writer);

			writer.Close();
		}
Esempio n. 2
0
        public void RenderCustomer()
        {
            Customer c = BuildCustomer();

            CustomerTemplate ct = new CustomerTemplate();

            ct.customer = c;

            XmlWriter writer = XmlWriter.Create(Console.Out);

            ct.Render(writer);

            writer.Close();
        }