IWorkItemTypeCatalogService.CreateEachWorkItem Method (Type, WorkItem, Generic Action)
Creates WorkItems for the registered types that match the provided type.
Namespace: Microsoft.Practices.CompositeUI.Services
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)
Syntax
'Declaration
Sub CreateEachWorkItem ( _
workItemType As Type, _
parentWorkItem As WorkItem, _
action As Action(Of WorkItem) _
)
'Usage
Dim instance As IWorkItemTypeCatalogService
Dim workItemType As Type
Dim parentWorkItem As WorkItem
Dim action As Action(Of WorkItem)
instance.CreateEachWorkItem(workItemType, parentWorkItem, action)
void CreateEachWorkItem (
Type workItemType,
WorkItem parentWorkItem,
Action<WorkItem> action
)
void CreateEachWorkItem (
Type^ workItemType,
WorkItem^ parentWorkItem,
Action<WorkItem^>^ action
)
void CreateEachWorkItem (
Type workItemType,
WorkItem parentWorkItem,
Action<WorkItem> action
)
function CreateEachWorkItem (
workItemType : Type,
parentWorkItem : WorkItem,
action : Action<WorkItem>
)
Parameters
- workItemType
The type of WorkItems to create.
- parentWorkItem
The parent WorkItem to create them in.
- action
A callback for each created WorkItem.
See Also
Reference
IWorkItemTypeCatalogService Interface
IWorkItemTypeCatalogService Members
Microsoft.Practices.CompositeUI.Services Namespace