Back in February, I wrote a couple of articles showing how to automatically inject the State of a WorkItem to a child WorkItem, by applying a custom [InheritState] attribute to the child WorkItem (see CAB: Injecting State into Child Work Items and CAB: Injecting State into Child Work Items through Custom Attribute). Fortunately, I have... read more
[Important: see this post for SC-SF compatible implementation] In my previous post CAB: Injecting State into Child Work Items I described three solutions for passing state objects from a work item to a newly created child work item.The third solution consisted of creating a custom attribute and an ObjectBuilder strategy in order to be able... read more
A common task that takes place when working with CAB, is the act of passing state information from a parent work item to a newly created child work item. You could simply use the default by reference passing in the .NET Framework, but this would generate references between parent and child work item, thus making... read more