C# Class InventoryDemo

Inheritance: MonoBehaviour, ITableViewDataSource
Afficher le fichier Open project: Unity3dAzure/AppServicesDemo

Méthodes publiques

Méthode Description
GetCellForRowInTableView ( TableView tableView, int row ) : TableViewCell
GetHeightForRowInTableView ( TableView tableView, int row ) : float
GetNumberOfRowsForTableView ( TableView tableView ) : int
GoNextScene ( ) : void

Handler to go to next scene

Load ( ) : void
LoadImage ( string filename ) : Sprite
Login ( ) : void
Save ( ) : void
TextChanged ( ) : void

Handler for text changed event to update view state

Private Methods

Méthode Description
InsertInventory ( ) : void
OnInsertCompleted ( IRestResponse response ) : void
OnLoadCompleted ( IRestResponse response ) : void
OnLoginCompleted ( IRestResponse response ) : void
OnUpdateCompleted ( IRestResponse response ) : void
RecalculateInventoryItems ( ) : void

Update inventory using input values

ReloadTableData ( ) : void

Reloads table data

Start ( ) : void
Update ( ) : void
UpdateInventory ( ) : void
UpdateUI ( ) : void

Method to manage UI view state

Method Details

GetCellForRowInTableView() public méthode

public GetCellForRowInTableView ( TableView tableView, int row ) : TableViewCell
tableView TableView
row int
Résultat Tacticsoft.TableViewCell

GetHeightForRowInTableView() public méthode

public GetHeightForRowInTableView ( TableView tableView, int row ) : float
tableView TableView
row int
Résultat float

GetNumberOfRowsForTableView() public méthode

public GetNumberOfRowsForTableView ( TableView tableView ) : int
tableView TableView
Résultat int

GoNextScene() public méthode

Handler to go to next scene
public GoNextScene ( ) : void
Résultat void

Load() public méthode

public Load ( ) : void
Résultat void

LoadImage() public méthode

public LoadImage ( string filename ) : Sprite
filename string
Résultat Sprite

Login() public méthode

public Login ( ) : void
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void

TextChanged() public méthode

Handler for text changed event to update view state
public TextChanged ( ) : void
Résultat void