Ejemplo n.º 1
0
 public ProductsAndProductTypesManager(ProductsManager productsManagerData, ProductTypesManager productTypesManagerData)
 {
     if (productsManagerData == null)
     {
         throw new ArgumentNullException(ERROR_PRODUCTS_MANAGER_IS_NULL);
     }
     if (productTypesManagerData == null)
     {
         throw new ArgumentNullException(ERROR_PRODUCT_TYPES_MANAGER_IS_NULL);
     }
     _productsManager     = productsManagerData;
     _productTypesManager = productTypesManagerData;
 }
Ejemplo n.º 2
0
 public ProductsAndProductTypesManager(ProductsManager productsManagerData, ProductTypesManager productTypesManagerData)
 {
     _productsManager     = productsManagerData;
     _productTypesManager = productTypesManagerData;
 }