Beispiel #1
0
        static void Main(string[] args)
        {
            SimpleFactory fac   = new SimpleFactory();
            TapeStore     store = new TapeStore(fac);

            store.OrderTape("circle");
            store.OrderTape("square");
            Console.ReadLine();
        }
Beispiel #2
0
 public TapeStore(SimpleFactory factory)
 {
     this._factory = factory;
 }