C# Class tdlr.TaskHelper

Show file Open project: Azure-Samples/active-directory-xamarin-demo-tdlr

Public Methods

Method Description
CreateTask ( string text ) : System.Threading.Tasks.Task
DeleteTask ( Task task ) : System.Threading.Tasks.Task
GetShares ( int taskID ) : System.Threading.Tasks.Task>
GetUserTasks ( ) : System.Threading.Tasks.Task>
ShareTask ( int taskID, List shares ) : System.Threading.Tasks.Task
UpdateTask ( Task task ) : System.Threading.Tasks.Task

Method Details

CreateTask() public static method

public static CreateTask ( string text ) : System.Threading.Tasks.Task
text string
return System.Threading.Tasks.Task

DeleteTask() public static method

public static DeleteTask ( Task task ) : System.Threading.Tasks.Task
task Task
return System.Threading.Tasks.Task

GetShares() public static method

public static GetShares ( int taskID ) : System.Threading.Tasks.Task>
taskID int
return System.Threading.Tasks.Task>

GetUserTasks() public static method

public static GetUserTasks ( ) : System.Threading.Tasks.Task>
return System.Threading.Tasks.Task>

ShareTask() public static method

public static ShareTask ( int taskID, List shares ) : System.Threading.Tasks.Task
taskID int
shares List
return System.Threading.Tasks.Task

UpdateTask() public static method

public static UpdateTask ( Task task ) : System.Threading.Tasks.Task
task Task
return System.Threading.Tasks.Task