示例#1
0
        /// <summary>
        /// Get a list of product updates for display to the user interface.
        /// </summary>
        /// <returns></returns>
        public IEnumerable<ProductUpdateViewModel> GetProductUpdates()
        {
            if (_productUpdateProvider == null)
                _productUpdateProvider = new ProductUpdateProvider();

            return ProductUpdateAdaptor(_productUpdateProvider.GetProductUpdates());
        }
示例#2
0
 private void Initialize()
 {
     _vendorProvider = new VendorProvider();
     _productProvider = new ProductProvider();
     _productUpdateProvider = new ProductUpdateProvider();
 }