36 lines
996 B
C#
36 lines
996 B
C#
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
|
|
{
|
|
|
|
/// <summary>
|
|
/// The CancelProcess event.
|
|
/// </summary>
|
|
///
|
|
/// <remarks>This event is used by the services to display the current status.</remarks>
|
|
///
|
|
public class CancelProcessEvent : CompositePresentationEvent<CancelProcess> { }
|
|
|
|
/// <summary>
|
|
/// The CancelProces is used by <see cref="CancelProcessEvent">CancelProcessEvent</see> event to cancel current process.
|
|
/// </summary>
|
|
public class CancelProcess
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets a value indicating whether this object is busy.
|
|
/// </summary>
|
|
public bool IsBusy { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the id of the process.
|
|
/// </summary>
|
|
public int ProcessId { get; set; }
|
|
|
|
}
|
|
}
|