Esempio n. 1
0
        public static void Main()
        {
            var darkTheme  = new DarkTheme();
            var lightTheme = new LightTheme();

            var about   = new About(darkTheme);
            var careers = new Careers(lightTheme);

            Console.WriteLine(about.GetContent());
            Console.WriteLine(careers.GetContent());
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var darkTheme = new DarkTheme();
            var aquaTheme = new AquaTheme();

            var about   = new About(darkTheme);
            var careers = new Carrers(aquaTheme);

            Console.WriteLine(about.GetContent());
            Console.WriteLine(careers.GetContent());
        }