annotate Implab/IPromiseBase.cs @ 25:9bf5b23650c9

refactoring
author cin
date Thu, 06 Feb 2014 01:08:59 +0400
parents
children f0bf98e4d22c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25
9bf5b23650c9 refactoring
cin
parents:
diff changeset
1 using System;
9bf5b23650c9 refactoring
cin
parents:
diff changeset
2 using System.Collections.Generic;
9bf5b23650c9 refactoring
cin
parents:
diff changeset
3 using System.Linq;
9bf5b23650c9 refactoring
cin
parents:
diff changeset
4 using System.Text;
9bf5b23650c9 refactoring
cin
parents:
diff changeset
5
9bf5b23650c9 refactoring
cin
parents:
diff changeset
6 namespace Implab {
9bf5b23650c9 refactoring
cin
parents:
diff changeset
7 public interface IPromiseBase: ICancellable {
9bf5b23650c9 refactoring
cin
parents:
diff changeset
8 /// <summary>
9bf5b23650c9 refactoring
cin
parents:
diff changeset
9 /// Check whereather the promise has no more than one dependent promise.
9bf5b23650c9 refactoring
cin
parents:
diff changeset
10 /// </summary>
9bf5b23650c9 refactoring
cin
parents:
diff changeset
11 bool IsExclusive {
9bf5b23650c9 refactoring
cin
parents:
diff changeset
12 get;
9bf5b23650c9 refactoring
cin
parents:
diff changeset
13 }
9bf5b23650c9 refactoring
cin
parents:
diff changeset
14
9bf5b23650c9 refactoring
cin
parents:
diff changeset
15 bool IsResolved { get; }
9bf5b23650c9 refactoring
cin
parents:
diff changeset
16
9bf5b23650c9 refactoring
cin
parents:
diff changeset
17 bool IsCancelled { get; }
9bf5b23650c9 refactoring
cin
parents:
diff changeset
18 }
9bf5b23650c9 refactoring
cin
parents:
diff changeset
19 }