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
-
Collection<T>
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
-
Collection<T>
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; otherwisefalse
- See Also
-
Collection<T>
Sort(AssortmentSortBy)
public void Sort(AssortmentSortBy sortBy)
Parameters
sortBy
AssortmentSortBy- The field to sort by.
- See Also
-
Collection<T>
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
-
Collection<T>
See Also
Collection<T>