// Downloaded from ThorProjects.com Copyright 2010 AvailTek LLC // Use of this file is granted to all parties so long as this notice stays intact. using System; using System.ComponentModel; using System.Workflow.ComponentModel; using System.Workflow.ComponentModel.Design; using System.Workflow.ComponentModel.Compiler; using System.Workflow.Activities; namespace WorkflowTools.Activities { [PersistOnClose] [ToolboxItem(true)] [Serializable] public class PersistOnClose : System.Workflow.ComponentModel.Activity { public PersistOnClose() { this.Name = typeof(PersistOnClose).Name; } protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { return ActivityExecutionStatus.Closed; } } }