public static BookmarkResumptionResult ResumeBookmark(this IExtensionEnabledWorkflowApplication workflow, WaitForTaskAction action, object result)
        {
            using (StringWriter writer = new StringWriter())
            {
                SERIALIZER.Serialize(writer, action);

                return workflow.ResumeBookmark(writer.ToString(), result);
            }
        }
        public static Bookmark CreateBookmark(this NativeActivityContext context, WaitForTaskAction action, BookmarkCallback callback)
        {
            using (StringWriter writer = new StringWriter())
            {
                SERIALIZER.Serialize(writer, action);

                return context.CreateBookmark(writer.ToString(), callback);
            }
        }