Mercurial > pub > ImplabNet
comparison Implab/IPromiseBase.cs @ 25:9bf5b23650c9
refactoring
| author | cin |
|---|---|
| date | Thu, 06 Feb 2014 01:08:59 +0400 |
| parents | |
| children | f0bf98e4d22c |
comparison
equal
deleted
inserted
replaced
| 24:ee04e1fa78da | 25:9bf5b23650c9 |
|---|---|
| 1 using System; | |
| 2 using System.Collections.Generic; | |
| 3 using System.Linq; | |
| 4 using System.Text; | |
| 5 | |
| 6 namespace Implab { | |
| 7 public interface IPromiseBase: ICancellable { | |
| 8 /// <summary> | |
| 9 /// Check whereather the promise has no more than one dependent promise. | |
| 10 /// </summary> | |
| 11 bool IsExclusive { | |
| 12 get; | |
| 13 } | |
| 14 | |
| 15 bool IsResolved { get; } | |
| 16 | |
| 17 bool IsCancelled { get; } | |
| 18 } | |
| 19 } |
