view Implab/ITaskController.cs @ 138:f75cfa58e3d4 v2

added ICancellable.Cancel(Exception) to allow specify the reason of cancellation
author cin
date Tue, 17 Feb 2015 18:16:26 +0300
parents 9bf5b23650c9
children 706fccb85524
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Implab {
    public interface ITaskController: IProgressHandler, ICancellable {
        bool IsCancelled {
            get;
        }

        event EventHandler Cancelled;
    }
}