Inheritance: TemplatePattern.Bread
Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Sourdough   s = new Sourdough();
            WholeWheat  w = new WholeWheat();
            TwelveGrain t = new TwelveGrain();

            s.Make();
            w.Make();
            t.Make();
        }
        static void Main()
        {
            var sourdough   = new Sourdough();
            var twelveGrain = new TwelveGrain();
            var wholeWheat  = new WholeWheat();

            sourdough.Make();
            twelveGrain.Make();
            wholeWheat.Make();
        }
        static void Main(string[] args)
        {
            var tg = new TwelveGrain();
            var sd = new Sourdough();
            var ww = new WholeWheat();

            tg.Make();
            sd.Make();
            ww.Make();
        }
        public static void Main(string[] args)
        {
            Sourdough sourdough = new Sourdough();

            sourdough.Make();
            TwelveGrain twelveGrain = new TwelveGrain();

            twelveGrain.Make();
            WholeWheat wholeWheat = new WholeWheat();

            wholeWheat.Make();
        }
Exemplo n.º 5
0
        static void Main(string[] args)
        {
            TwelvGrain twelvGrain = new TwelvGrain();

            twelvGrain.make();

            Console.WriteLine("----------------------------");

            WholeWheat wholeWheat = new WholeWheat();

            wholeWheat.make();
        }
Exemplo n.º 6
0
        public static void Main()
        {
            Sourdough bread1 = new Sourdough();

            bread1.Make();

            TwelveGrain bread2 = new TwelveGrain();

            bread2.Make();

            WholeWheat bread3 = new WholeWheat();

            bread3.Make();
        }
Exemplo n.º 7
0
        public static void Main(string[] args)
        {
            var twelveGrain = new TwelveGrain();
            var sourDough   = new SourDough();
            var wholeWheat  = new WholeWheat();

            Delimiter();
            twelveGrain.Make();
            Delimiter();
            sourDough.Make();
            Delimiter();
            wholeWheat.Make();
            Delimiter();
        }
Exemplo n.º 8
0
        static void Main(string[] args)
        {
            Sourdough sourdough = new Sourdough();

            Console.WriteLine(sourdough.Make());

            TwelveGrain twelveGrain = new TwelveGrain();

            Console.WriteLine(twelveGrain.Make());

            WholeWheat wholeWheat = new WholeWheat();

            Console.WriteLine(wholeWheat.Make());
        }
Exemplo n.º 9
0
        public static void Main()
        {
            Sourdough sourdoughBread = new Sourdough();

            sourdoughBread.Make();

            Console.WriteLine();

            TwelveGrain twelveGrainBread = new TwelveGrain();

            twelveGrainBread.Make();

            Console.WriteLine();

            WholeWheat wholeWheatBread = new WholeWheat();

            wholeWheatBread.Make();
        }