I have a class derived from CodeActivity that creates some objects in its constructor which will be used by Execute. These objects are exposed as properties so I can fake them for unit tests.
In a code review a colleague suggested that I might need to make all of those objects Variable<T> "for them to play nicely in WF (with all the threading etc. going on)", but wasn't sure on that.
Do I need to make these Variable<T>? If not, when would I want to use Variable<T> in a CodeActivity?
View Complete Post