Search

Search:

Namespace:

Search Result
.
    public class ListSerializer : WorkflowMarkupSerializer, IDesignerSerializationProvider
.

[DesignerSerializer(typeof(ListSerializer), typeof(WorkflowMarkupSerializer))]

.

Well it turns out to be quite easy as the WorkflowMarkupSerializer class is your friend. The following code does just that. And most of the code is to create the workflow in the first place as the serialization part is just 3 lines!

.
    WorkflowMarkupSerializer serializer = new WorkflowMarkupSerializer();
.
See
.

public class ListSerializer : WorkflowMarkupSerializer, IDesignerSerializationProvider

.
 [DesignerSerializer(typeof(ListSerializer), typeof(WorkflowMarkupSerializer))]