[This is preliminary documentation and is subject to change.]
Convert a work item stub to a work item once it is known which category, if any, it was matched to
Namespace: Microsoft.Research.Naiad.Frameworks.WorkGenerator
Assembly: Microsoft.Research.Naiad.WorkGenerator (in Microsoft.Research.Naiad.WorkGenerator.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
protected abstract TWorkDescription ExpandWorkItem( bool usedMatchingQueue, TCategory category, TWorkStub stub )
Parameters
- usedMatchingQueue
- Type: SystemBoolean
True if the item was drawn from a queue that matched the worker it is being assigned to - category
- Type: TCategory
Category of the matching queue, if usedMatchingQueue==true - stub
- Type: TWorkStub
Work item stub to convert
Return Value
Type: TWorkDescriptionFilled-in work item
See Also