Пример #1
0
 public List <string> GetProducts()
 {
     // Use lazy instantiation
     // VendorAdaptee adaptee = new VendorAdaptee();
     adaptee = new VendorAdaptee();
     return(adaptee.GetListOfProducts());
 }
Пример #2
0
 public List<string> GetProducts()
 {
     // Use lazy instantiation
     // VendorAdaptee adaptee = new VendorAdaptee();
     adaptee = new VendorAdaptee();
     return adaptee.GetListOfProducts();
 }