C# Class TodoApp.Helpers.TaskHelper

Datei anzeigen Open project: strongloop/loopback-example-xamarin

Public Methods

Method Description
DeleteTask ( TodoTask task ) : Task
GetAllTasks ( ) : Task>
GetCategory ( this task ) : Category
GetTaskByDay ( System.DateTime date ) : Task>
IsValid ( this task ) : System.Boolean
SaveTask ( TodoTask task ) : Task
ToggleDone ( TodoTask task ) : Task
ToggleFavorite ( TodoTask task ) : Task

Private Methods

Method Description
ResetCache ( ) : void

Method Details

DeleteTask() public static method

public static DeleteTask ( TodoTask task ) : Task
task TodoTask
return Task

GetAllTasks() public static method

public static GetAllTasks ( ) : Task>
return Task>

GetCategory() public static method

public static GetCategory ( this task ) : Category
task this
return TodoApp.Models.Category

GetTaskByDay() public static method

public static GetTaskByDay ( System.DateTime date ) : Task>
date System.DateTime
return Task>

IsValid() public static method

public static IsValid ( this task ) : System.Boolean
task this
return System.Boolean

SaveTask() public static method

public static SaveTask ( TodoTask task ) : Task
task TodoTask
return Task

ToggleDone() public static method

public static ToggleDone ( TodoTask task ) : Task
task TodoTask
return Task

ToggleFavorite() public static method

public static ToggleFavorite ( TodoTask task ) : Task
task TodoTask
return Task