示例#1
0
        static void Main(string[] args)
        {
            ProductManager _productManager = new ProductManager(new DesignTwo());

            _productManager.GetAll();
        }
示例#2
0
        static void Main(string[] args)
        {
            ProductManager productManager = new ProductManager(new Factory2());

            productManager.GetAll();
        }