public WeProduct(string productId, WeProductBase productBase, DeliveryInfo deliveryInfo, ProductStatus status, params SkuListElement[] skuList) : this(productId, productBase, deliveryInfo, status) { TkDebug.AssertArgumentNull(skuList, "skuList", null); SkuList.AddRange(skuList); }
public WeProduct(string productId, WeProductBase productBase, SkuListElement sku, DeliveryInfo deliveryInfo, ProductStatus status) : this(productId, productBase, deliveryInfo, status) { TkDebug.AssertArgumentNull(sku, "sku", null); SkuList.Add(sku); }
private WeProduct(string productId, WeProductBase productBase, DeliveryInfo deliveryInfo, ProductStatus status) { TkDebug.AssertArgumentNullOrEmpty(productId, "productId", null); TkDebug.AssertArgumentNull(ProductBase, "ProductBase", null); TkDebug.AssertArgumentNull(deliveryInfo, "deliveryInfo", null); ProductId = productId; SkuList = new List<SkuListElement>(); ProductBase = productBase; DeliveryInfo = deliveryInfo; Status = status; }
private WeProduct(string productId, WeProductBase productBase, DeliveryInfo deliveryInfo, ProductStatus status) { TkDebug.AssertArgumentNullOrEmpty(productId, "productId", null); TkDebug.AssertArgumentNull(ProductBase, "ProductBase", null); TkDebug.AssertArgumentNull(deliveryInfo, "deliveryInfo", null); ProductId = productId; SkuList = new List <SkuListElement>(); ProductBase = productBase; DeliveryInfo = deliveryInfo; Status = status; }