How to write a Custom DesignerSerializer for an class used by a Activity (WF)
- by Stefan Steinegger
I have a type which is used in a WF activity. It should be serialized. It doesn't work out of the box, most probably because of the private setters in that type.
I'm not sure if this is the correct way, but I tried to write my own serializer and declared it on my class.
[DesignerSerializer(
typeof(FooDesignerSerializer), // my custom serializer…