C# Class InventoryReport

Afficher le fichier Open project: imann24/cs327-bestmobilegameever Class Usage Examples

Méthodes publiques

Méthode Description
AddItemCollected ( string itemName ) : void
AddItemDestroyed ( string itemName ) : void
Get ( ) : object>.Dictionary
InventoryReport ( InventoryItem, inventoryItems ) : System.Collections.Generic
ToString ( ) : string

Private Methods

Méthode Description
getItemSummary ( InventoryItem, item ) : InventoryItemSummary,
overwriteDetailEntry ( string key, object value ) : void

Method Details

AddItemCollected() public méthode

public AddItemCollected ( string itemName ) : void
itemName string
Résultat void

AddItemDestroyed() public méthode

public AddItemDestroyed ( string itemName ) : void
itemName string
Résultat void

Get() public méthode

public Get ( ) : object>.Dictionary
Résultat object>.Dictionary

InventoryReport() public méthode

public InventoryReport ( InventoryItem, inventoryItems ) : System.Collections.Generic
inventoryItems InventoryItem,
Résultat System.Collections.Generic

ToString() public méthode

public ToString ( ) : string
Résultat string