IWorkItemTypeCatalogService CreateEachWorkItem

Topics: CAB & Smart Client Software Factory
Jun 1, 2006 at 12:16 AM
originally posted by: ching100

I saw the source of CreateEachWorkItem() in CAB, just as follows:
foreach (Type type in registeredTypes)
if (workItemType.IsAssignableFrom(type))
action((WorkItem)parentWorkItem.Items.AddNew(type));

but it is too simple to add a new WorkItem( has no key of WorkItems , no condition judgement ).

So I need to modify the library to extend CAB ?
Thank you so much.