Click or drag to resize
DiscountCollection Constructor (IEnumerableIDiscount)
Initializes a new instance of the DiscountCollection class that contains IDiscount elements copied from the specified collection.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 11.0.0
Syntax
C#
public DiscountCollection(
	IEnumerable<IDiscount> discounts
)

Parameters

discounts
Type: System.Collections.GenericIEnumerableIDiscount
The collection whose discounts are copied to the new list.
See Also