C# Class Tasque.Backends.HmBackend.HmTask

Inheritance: AbstractTask
Exibir arquivo Open project: GNOME/tasque Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
CompareTo ( ITask task ) : int
CompareToByCompletionDate ( ITask task ) : int
Complete ( ) : void

Completes the task

CreateNote ( string text ) : INote

Adds a note to a task

Delete ( ) : void

Deletes the task

DeleteNote ( INote note ) : void

Deletes a note from a task

Dump ( ) : void
GetTasks ( XmlNodeList list, Tasque.Backends.HmBackend.HmBackend backend ) : Tasque.Backends.HmBackend.HmTask[]
HmTask ( ) : System
HmTask ( Hiveminder task, Tasque.Backends.HmBackend.HmBackend hmBackend ) : System
Inactivate ( ) : void

Sets the task to be inactive

SaveNote ( INote note ) : void

Saves a note in a task

Private Methods

Method Description
CompareByPriorityAndName ( ITask task ) : int

Method Details

Activate() public method

public Activate ( ) : void
return void

CompareTo() public method

public CompareTo ( ITask task ) : int
task ITask
return int

CompareToByCompletionDate() public method

public CompareToByCompletionDate ( ITask task ) : int
task ITask
return int

Complete() public method

Completes the task
public Complete ( ) : void
return void

CreateNote() public method

Adds a note to a task
public CreateNote ( string text ) : INote
text string
return INote

Delete() public method

Deletes the task
public Delete ( ) : void
return void

DeleteNote() public method

Deletes a note from a task
public DeleteNote ( INote note ) : void
note INote /// A ///
return void

Dump() public method

public Dump ( ) : void
return void

GetTasks() public static method

public static GetTasks ( XmlNodeList list, Tasque.Backends.HmBackend.HmBackend backend ) : Tasque.Backends.HmBackend.HmTask[]
list System.Xml.XmlNodeList
backend Tasque.Backends.HmBackend.HmBackend
return Tasque.Backends.HmBackend.HmTask[]

HmTask() public method

public HmTask ( ) : System
return System

HmTask() public method

public HmTask ( Hiveminder task, Tasque.Backends.HmBackend.HmBackend hmBackend ) : System
task Hiveminder
hmBackend Tasque.Backends.HmBackend.HmBackend
return System

Inactivate() public method

Sets the task to be inactive
public Inactivate ( ) : void
return void

SaveNote() public method

Saves a note in a task
public SaveNote ( INote note ) : void
note INote /// A ///
return void