WorkItem Reuse

Topics: CAB & Smart Client Software Factory
Feb 5, 2007 at 1:26 PM
Hi Community,

Any idea on what is the proper approach for re-use of WorkItems in CAB?

Basically what is the best way of creating/instantiating and using a workitem(sub-workItem) created in a Module, from a different Module (and it should be in a de-coupled way, so that I don't have to add a Static File Reference to the Module assembly) Is there any better way than IWorkItemTypeCatalogService?

Say for example, I have a module(Module1) with a workItem and a sub-worKtem(Sub usecase). At the time of development of the Module1 the sub-workItem was not considered to be generic one and hence it was not implemented as a independent Module.

Now I am writing a new Module2 and I want to use the functionality provided by that Sub-WorkItem/useCase(of Module1). How this should be approached in CAB?

Basically in CAB is there anything like WorkItemLoaderService, like we have a ModuleLoaderService. So that when we specify a workItem(and the Module it's contained in), that WorkItem should be loaded.