Пример #1
0
 internal ProductVariant(Guid productKey, ProductAttributeCollection attributes, InventoryCollection inventory, bool template, string name, string sku, decimal price)
     : base(name, sku, price)
 {
     Mandate.ParameterNotNull(attributes, "attributes");
     Mandate.ParameterNotNull(inventory, "inventory");
     _productKey = productKey;
     _attibutes  = attributes;
     _template   = template;
 }
Пример #2
0
 public ProductVariant(Guid productKey, ProductAttributeCollection attributes, InventoryCollection inventory, string name, string sku, decimal price)
     : this(productKey, attributes, inventory, false, name, sku, price)
 {
 }