Click or drag to resize
DiscountCollection Constructor (IEnumerable<IDiscount>)
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: 13.0.131
Syntax
C#
public DiscountCollection(
	IEnumerable<IDiscount> discounts
)

Parameters

discounts
Type: System.Collections.Generic.IEnumerable<IDiscount>
The collection whose discounts are copied to the new list.
See Also