Files

36 lines
996 B
C#
Raw Permalink Normal View History

2026-04-17 14:55:32 -04:00
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; }
}
}