using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Microsoft.Practices.Prism.Events; namespace DTS.Common.Events { /// /// The CancelProcess event. /// /// /// This event is used by the services to display the current status. /// public class CancelProcessEvent : CompositePresentationEvent { } /// /// The CancelProces is used by CancelProcessEvent event to cancel current process. /// public class CancelProcess { /// /// Gets or sets a value indicating whether this object is busy. /// public bool IsBusy { get; set; } /// /// Gets or sets the id of the process. /// public int ProcessId { get; set; } } }