public List <string> GetProducts() { // Use lazy instantiation // VendorAdaptee adaptee = new VendorAdaptee(); adaptee = new VendorAdaptee(); return(adaptee.GetListOfProducts()); }
public List<string> GetProducts() { // Use lazy instantiation // VendorAdaptee adaptee = new VendorAdaptee(); adaptee = new VendorAdaptee(); return adaptee.GetListOfProducts(); }