C# Class ScheduleApp.Scheduler

Mostrar archivo Open project: AndyCYao/AndroidSchedulerApp Class Usage Examples

Public Methods

Method Description
AddTask ( AppTask taskToAdd ) : void
AddTaskWithInfo ( string name, string notes, System.DateTime reminderBegin, System.DateTime reminderEnd, string ringToneName, int frequency, string frequencyUnit ) : void
FindTaskById ( int id ) : AppTask
GetTaskIDs ( ) : List
GetTasks ( System.Boolean getInactive ) : List
Read ( string path ) : void
RemoveTask ( int TaskID ) : void
Scheduler ( string filePath = "" ) : System
TaskAt ( int index ) : AppTask
UpdateTaskWithInfo ( int taskID, string name, string notes, System.DateTime reminderBegin, System.DateTime reminderEnd, string ringToneName, int frequency, string frequencyUnit ) : void
Write ( string path ) : void

Method Details

AddTask() public method

public AddTask ( AppTask taskToAdd ) : void
taskToAdd AppTask
return void

AddTaskWithInfo() public method

public AddTaskWithInfo ( string name, string notes, System.DateTime reminderBegin, System.DateTime reminderEnd, string ringToneName, int frequency, string frequencyUnit ) : void
name string
notes string
reminderBegin System.DateTime
reminderEnd System.DateTime
ringToneName string
frequency int
frequencyUnit string
return void

FindTaskById() public method

public FindTaskById ( int id ) : AppTask
id int
return AppTask

GetTaskIDs() public method

public GetTaskIDs ( ) : List
return List

GetTasks() public method

public GetTasks ( System.Boolean getInactive ) : List
getInactive System.Boolean
return List

Read() public method

public Read ( string path ) : void
path string
return void

RemoveTask() public method

public RemoveTask ( int TaskID ) : void
TaskID int
return void

Scheduler() public method

public Scheduler ( string filePath = "" ) : System
filePath string
return System

TaskAt() public method

public TaskAt ( int index ) : AppTask
index int
return AppTask

UpdateTaskWithInfo() public method

public UpdateTaskWithInfo ( int taskID, string name, string notes, System.DateTime reminderBegin, System.DateTime reminderEnd, string ringToneName, int frequency, string frequencyUnit ) : void
taskID int
name string
notes string
reminderBegin System.DateTime
reminderEnd System.DateTime
ringToneName string
frequency int
frequencyUnit string
return void

Write() public method

public Write ( string path ) : void
path string
return void