C# Class MobileAppsFilesSample.ViewModels.TodoListViewModel

Inheritance: ViewModel
Show file Open project: Azure-Samples/app-service-mobile-dotnet-todo-list-files Class Usage Examples

Public Methods

Method Description
NavigateToDetailsView ( TodoItemViewModel todo, INavigation navigation ) : System.Threading.Tasks.Task
SyncItemsAsync ( ) : System.Threading.Tasks.Task
TodoListViewModel ( ) : System

Private Methods

Method Description
AddItem ( object data ) : void
DeleteItem ( object data ) : void
InitCommands ( ) : void
LoadItems ( ) : System.Threading.Tasks.Task
StoreOperationEventHandler ( Microsoft.WindowsAzure.MobileServices.Sync.StoreOperationCompletedEvent mobileServiceEvent ) : void

Method Details

NavigateToDetailsView() public method

public NavigateToDetailsView ( TodoItemViewModel todo, INavigation navigation ) : System.Threading.Tasks.Task
todo TodoItemViewModel
navigation INavigation
return System.Threading.Tasks.Task

SyncItemsAsync() public method

public SyncItemsAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

TodoListViewModel() public method

public TodoListViewModel ( ) : System
return System