Esempio n. 1
0
        static void Main(string[] args)
        {
            SimpleFactory fac   = new SimpleFactory();
            TapeStore     store = new TapeStore(fac);

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