C# Class AzureTodo.TodoItemManager

Manager classes are an abstraction on the data access layers
Show file Open project: xamarin/mac-samples Class Usage Examples

Public Methods

Method Description
DeleteTodoItemAsync ( AzureTodo.TodoItem item ) : System.Threading.Tasks.Task

Deletes the todo item from Azure storage async.

GetTodoItemAsync ( string id ) : Task

Gets the todo item async.

GetTodoItemsAsync ( ) : Task>

Gets all todo items async.

SaveTodoItemAsync ( AzureTodo.TodoItem item ) : System.Threading.Tasks.Task

Saves the todo item to Azure storage async.

TodoItemManager ( ) : System

Method Details

DeleteTodoItemAsync() public method

Deletes the todo item from Azure storage async.
public DeleteTodoItemAsync ( AzureTodo.TodoItem item ) : System.Threading.Tasks.Task
item AzureTodo.TodoItem The Item to delete.
return System.Threading.Tasks.Task

GetTodoItemAsync() public method

Gets the todo item async.
public GetTodoItemAsync ( string id ) : Task
id string The ID of the item to get.
return Task

GetTodoItemsAsync() public method

Gets all todo items async.
public GetTodoItemsAsync ( ) : Task>
return Task>

SaveTodoItemAsync() public method

Saves the todo item to Azure storage async.
public SaveTodoItemAsync ( AzureTodo.TodoItem item ) : System.Threading.Tasks.Task
item AzureTodo.TodoItem The Item to save.
return System.Threading.Tasks.Task

TodoItemManager() public method

public TodoItemManager ( ) : System
return System