C# Class MobileAppsFilesSample.TodoItemFileSyncHandler

Inheritance: IFileSyncHandler
Show file Open project: Azure-Samples/app-service-mobile-dotnet-todo-list-files

Public Methods

Method Description
GetDataSource ( MobileServiceFileMetadata metadata ) : Task
ProcessFileSynchronizationAction ( MobileServiceFile file, FileSynchronizationAction action ) : System.Threading.Tasks.Task
TodoItemFileSyncHandler ( TodoItemManager itemManager ) : System.Threading.Tasks

Method Details

GetDataSource() public method

public GetDataSource ( MobileServiceFileMetadata metadata ) : Task
metadata Microsoft.WindowsAzure.MobileServices.Files.Metadata.MobileServiceFileMetadata
return Task

ProcessFileSynchronizationAction() public method

public ProcessFileSynchronizationAction ( MobileServiceFile file, FileSynchronizationAction action ) : System.Threading.Tasks.Task
file Microsoft.WindowsAzure.MobileServices.Files.MobileServiceFile
action FileSynchronizationAction
return System.Threading.Tasks.Task

TodoItemFileSyncHandler() public method

public TodoItemFileSyncHandler ( TodoItemManager itemManager ) : System.Threading.Tasks
itemManager TodoItemManager
return System.Threading.Tasks