public ActivityExecutionWorkItem CreateWorkItem(ActivityExecutor executor, bool isExternal, System.Activities.Bookmark bookmark, object value)
 {
     if (base.IsCallbackNull)
     {
         return(executor.CreateEmptyWorkItem(base.ActivityInstance));
     }
     return(new BookmarkWorkItem(executor, isExternal, this, bookmark, value));
 }
 public ActivityExecutionWorkItem CreateWorkItem(ActivityExecutor executor, bool isExternal, Bookmark bookmark, object value)
 {
     if (this.IsCallbackNull)
     {
         return executor.CreateEmptyWorkItem(this.ActivityInstance);
     }
     else
     {
         return new BookmarkWorkItem(executor, isExternal, this, bookmark, value);
     }
 }
 public ActivityExecutionWorkItem CreateWorkItem(ActivityExecutor executor, bool isExternal, Bookmark bookmark, object value)
 {
     if (this.IsCallbackNull)
     {
         return(executor.CreateEmptyWorkItem(this.ActivityInstance));
     }
     else
     {
         return(new BookmarkWorkItem(executor, isExternal, this, bookmark, value));
     }
 }