##// END OF EJS Templates
minor cleanup
minor cleanup

File last commit:

r29:768f7deeb55b default
r31:dafaadca5b9f default
Show More
IPromiseBase.cs
30 lines | 771 B | text/x-csharp | CSharpLexer
cin
refactoring
r25 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab {
public interface IPromiseBase: ICancellable {
/// <summary>
/// Check whereather the promise has no more than one dependent promise.
/// </summary>
bool IsExclusive {
get;
}
cin
Added a casting method for promises.
r29 /// <summary>
/// Тип результата, получаемого через данное обещание.
/// </summary>
Type PromiseType { get; }
cin
refactoring
r25 bool IsResolved { get; }
bool IsCancelled { get; }
cin
refactoring
r26
IPromiseBase Then(Action success,ErrorHandler error);
IPromiseBase Then(Action success);
cin
Added a casting method for promises.
r29 IPromise<T> Cast<T>();
cin
refactoring
r25 }
}