C# Class Tasque.Backends.Dummy.TaskRepository

Inheritance: ITaskRepository
显示文件 Open project: GNOME/tasque Class Usage Examples

Private Properties

Property Type Description
CreateNote INoteCore
INoteCollectionRepo IEnumerable
INoteCollectionRepo INoteCore
INoteCollectionRepo void
INoteCollectionRepo void
ITaskCollectionRepo IEnumerable
ITaskCollectionRepo ITaskCore
ITaskCollectionRepo void
ITaskCollectionRepo void

Public Methods

Method Description
Activate ( ITaskCore task ) : void
Complete ( ITaskCore task, System.DateTime completionDate ) : System.DateTime
Discard ( ITaskCore task ) : void
TaskRepository ( DummyBackend backend ) : System
UpdateDueDate ( ITaskCore task, System.DateTime dueDate ) : System.DateTime
UpdateNote ( ITaskCore task, INoteCore note ) : INoteCore
UpdatePriority ( ITaskCore task, TaskPriority priority ) : TaskPriority
UpdateText ( ITaskCore task, string text ) : string

Private Methods

Method Description
CreateNote ( DummyNote dummyNote ) : INoteCore
INoteCollectionRepo ( ITaskCore container ) : IEnumerable
INoteCollectionRepo ( ITaskCore container, string id ) : INoteCore
INoteCollectionRepo ( ITaskCore container ) : void
INoteCollectionRepo ( ITaskCore task, INoteCore note ) : void
ITaskCollectionRepo ( ITaskCore container ) : IEnumerable
ITaskCollectionRepo ( ITaskCore container, string id ) : ITaskCore
ITaskCollectionRepo ( ITaskCore container ) : void
ITaskCollectionRepo ( ITaskCore container, ITaskCore item ) : void

Method Details

Activate() public method

public Activate ( ITaskCore task ) : void
task ITaskCore
return void

Complete() public method

public Complete ( ITaskCore task, System.DateTime completionDate ) : System.DateTime
task ITaskCore
completionDate System.DateTime
return System.DateTime

Discard() public method

public Discard ( ITaskCore task ) : void
task ITaskCore
return void

TaskRepository() public method

public TaskRepository ( DummyBackend backend ) : System
backend DummyBackend
return System

UpdateDueDate() public method

public UpdateDueDate ( ITaskCore task, System.DateTime dueDate ) : System.DateTime
task ITaskCore
dueDate System.DateTime
return System.DateTime

UpdateNote() public method

public UpdateNote ( ITaskCore task, INoteCore note ) : INoteCore
task ITaskCore
note INoteCore
return INoteCore

UpdatePriority() public method

public UpdatePriority ( ITaskCore task, TaskPriority priority ) : TaskPriority
task ITaskCore
priority TaskPriority
return TaskPriority

UpdateText() public method

public UpdateText ( ITaskCore task, string text ) : string
task ITaskCore
text string
return string