You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
649 B

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prototype
{
class Client
{
public static void HowToTest()
{
Prototype basicTemplate = new BasicWebPrototype();
Prototype premiumTemplate = new PremiumWebPrototype();
Prototype t1 = basicTemplate.Clone();
t1.SetTitle("Basic Web");
Console.WriteLine(t1.WebTemplate);
Prototype t2 = basicTemplate.Clone();
t2.SetTitle("Basic Web2");
Console.WriteLine(t2.WebTemplate);
Prototype t3 = premiumTemplate.Clone();
t3.SetTitle("Premium Web");
Console.WriteLine(t3.WebTemplate);
}
}
}