Class PurchaseItemsCollection
A collection representing a list of purchased items, used to provide extra details about a Humm transaction.
Implements
Inherited Members
System.Collections.Generic.List<System.String>.System.Collections.IList.get_Item(System.Int32)
System.Collections.Generic.List<System.String>.System.Collections.IList.set_Item(System.Int32, System.Object)
Namespace: Yort.Humm.InStore
Assembly: Yort.Humm.InStore.dll
Syntax
public class PurchaseItemsCollection : List<string>, IList<string>, ICollection<string>, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IList, ICollection, IEnumerable
Remarks
Each item in the collection is a string providing a simple description of the item purchased.
Constructors
| Improve this Doc View SourcePurchaseItemsCollection()
Initializes a new instance of the PurchaseItemsCollection class.
Declaration
public PurchaseItemsCollection()
PurchaseItemsCollection(IEnumerable<String>)
Initializes a new instance of the PurchaseItemsCollection class.
Declaration
public PurchaseItemsCollection(IEnumerable<string> items)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<String> | items | A set of items to intialise the collection with. |
PurchaseItemsCollection(Int32)
Initializes a new instance of the PurchaseItemsCollection class.
Declaration
public PurchaseItemsCollection(int capacity)
Parameters
Type | Name | Description |
---|---|---|
Int32 | capacity | The number of elements that the new list can initially store. |
Implements
See Also
List<T>