16 lines
370 B
C#
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;
|
|
}
|
|
}
|
|
}
|