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, int)
Declaration
public static IInventory Create(int capacity = 2, bool handlesOverflow = true, int maxCapacity = 2)
Parameters
| Type | Name | Description |
|---|---|---|
| int | capacity | |
| bool | handlesOverflow | |
| int | maxCapacity |
Returns
| Type | Description |
|---|---|
| IInventory |