JD2022-TU1/main/tools/framework/JD.Threading/ISupportsCancel.cs

16 lines
370 B
C#

namespace JD.Threading
{
/// <summary>
/// Interface for objects that represent operations that can be canceled at some point.
/// </summary>
public interface ISupportsCancel
{
/// <summary>
/// Gets whether the operation has been canceled.
/// </summary>
bool IsCancelled
{
get;
}
}
}