Example #1
0
        private static void UseÁbastractFatcory()
        {
            AbstractFactoryClient<VivienneBrand> currentClient = new AbstractFactoryClient<VivienneBrand>();
            currentClient.CreateProductLine();
            currentClient.DiplayAllItems();
            Console.WriteLine();

            AbstractFactoryClient<GucciBrand> newGucciClient = new AbstractFactoryClient<GucciBrand>();
            newGucciClient.CreateProductLine();
            newGucciClient.DiplayAllItems();
            Console.WriteLine();
        }