Class StockLocationCollection
- Namespace
- Dynamicweb.Ecommerce.Stocks
- Assembly
- Dynamicweb.Ecommerce.dll
Represents the collection of the StockLocation.
[Obsolete]
public class StockLocationCollection : Collection<StockLocation>, IList<StockLocation>, ICollection<StockLocation>, IReadOnlyList<StockLocation>, IReadOnlyCollection<StockLocation>, IEnumerable<StockLocation>, IList, ICollection, IEnumerable
- Inheritance
-
StockLocationCollection
- Implements
- Inherited Members
- Extension Methods
Properties
Data
Gets the underlying data storage.
protected List<StockLocation> Data { get; }
Property Value
Methods
Sort(IComparer<StockLocation>)
Sorts elements according to the given comparer.
public void Sort(IComparer<StockLocation> comparer)
Parameters
comparer
IComparer<StockLocation>- Comparer.
Sort(Comparison<StockLocation>)
Sorts elements according to the given comparison.
public void Sort(Comparison<StockLocation> comparison)
Parameters
comparison
Comparison<StockLocation>- Comparison.
SortByOrder(string)
Sorts emails by a name (ascending).
public void SortByOrder(string direction = "DESC")
Parameters
direction
string