I'm evaluating the new version of Workflow Foundation (4.0), but I'm a bit confused about custom activities. I'm using the Beta 1 bits.
I believe that if I want to create a custom activity I should extend WorkflowElement, and if I want my custom activity to hold other activities I should extend Activity. However, WorkflowElement appears to have lots of abstract internal methods which I can't override.
My co-worker believes custom non-container (i.e., doesn't hold other activities) activities should extend CodeActivity. But in the last version of WF, CodeActivities weren't a base class, they were activities that executed a method in the parent workflow.
What's the latest word on this? What should I be using for the base class for my custom activities in Workflow 4.0?