Table of Contents

Class AssortmentCollection

Namespace
Dynamicweb.Ecommerce.Assortments
Assembly
Dynamicweb.Ecommerce.dll
Collection of assortments.
[Obsolete]
public class AssortmentCollection : Collection<Assortment>, IList<Assortment>, ICollection<Assortment>, IReadOnlyList<Assortment>, IReadOnlyCollection<Assortment>, IEnumerable<Assortment>, IList, ICollection, IEnumerable
Inheritance
AssortmentCollection
Implements
Inherited Members
Extension Methods

Constructors

AssortmentCollection()

Empty constructor.
public AssortmentCollection()
See Also

AssortmentCollection(IEnumerable<Assortment>)

Initializes a new instance of AssortmentCollection with the given assortments.
public AssortmentCollection(IEnumerable<Assortment> assortments)

Parameters

assortments IEnumerable<Assortment>
Assortments to be added to the collection.
See Also

Methods

ContainsByID(string)

Determines whether the AssortmentCollection contains an assortment with the specified ID.
public bool ContainsByID(string assortmentID)

Parameters

assortmentID string
The id of the assortment to find.

Returns

bool
true if the assortment is found; otherwise false
See Also

Sort(AssortmentSortBy)

Sorts the AssortmentCollection by specified field. Default AssortmentSortDirection is Ascending.
public void Sort(AssortmentSortBy sortBy)

Parameters

sortBy AssortmentSortBy
The field to sort by.
See Also

Sort(AssortmentSortBy, AssortmentSortDirection)

Sorts the AssortmentCollection by specified field.
public void Sort(AssortmentSortBy sortBy, AssortmentSortDirection sortDirection)

Parameters

sortBy AssortmentSortBy
The field to sort by.
sortDirection AssortmentSortDirection
The direction to sort the collection.
See Also

See Also

To top