static void Main(string[] args) { SimpleFactory fac = new SimpleFactory(); TapeStore store = new TapeStore(fac); store.OrderTape("circle"); store.OrderTape("square"); Console.ReadLine(); }
public TapeStore(SimpleFactory factory) { this._factory = factory; }