C# Class WhiskWork.Core.MemoryWorkItemRepository

Inheritance: IWorkItemRepository
Show file Open project: jorn-ola-birkeland/WhiskWork Class Usage Examples

Public Methods

Method Description
CreateWorkItem ( WorkItem workItem ) : void
DeleteWorkItem ( string workItemId ) : void
ExistsWorkItem ( string id ) : bool
GetChildWorkItems ( WorkItemParent parent ) : IEnumerable
GetWorkItem ( string id ) : WorkItem
GetWorkItems ( string path ) : IEnumerable
UpdateWorkItem ( WorkItem workItem ) : void

Method Details

CreateWorkItem() public method

public CreateWorkItem ( WorkItem workItem ) : void
workItem WorkItem
return void

DeleteWorkItem() public method

public DeleteWorkItem ( string workItemId ) : void
workItemId string
return void

ExistsWorkItem() public method

public ExistsWorkItem ( string id ) : bool
id string
return bool

GetChildWorkItems() public method

public GetChildWorkItems ( WorkItemParent parent ) : IEnumerable
parent WorkItemParent
return IEnumerable

GetWorkItem() public method

public GetWorkItem ( string id ) : WorkItem
id string
return WorkItem

GetWorkItems() public method

public GetWorkItems ( string path ) : IEnumerable
path string
return IEnumerable

UpdateWorkItem() public method

public UpdateWorkItem ( WorkItem workItem ) : void
workItem WorkItem
return void