Class InventoryFactory
Static factory to create IInventorys.
Inherited Members
Namespace: InventorySystem.Inventory
Assembly: InventorySystem.dll
Syntax
public static class InventoryFactory
Methods
| Edit this page View SourceCreate(int, bool)
Declaration
public static IInventory Create(int capacity = 2, bool handlesOverflow = false)
Parameters
Type | Name | Description |
---|---|---|
int | capacity | |
bool | handlesOverflow |
Returns
Type | Description |
---|---|
IInventory |