##// END OF EJS Templates
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()'...
added Safe.DispatchEvent() a legacy equivalent for '?.Invoke()' added Safe.Dispose(IEnumerable) added PromiseExtensions.CancellationPoint to add a cancellation point to the chain of promises added IPromise<T> PromiseExtensions.Then<T>(this IPromise<T> that, Action<T> success) overloads added PromiseExtensions.Error() overloads to handle a error or(and) a cancellation

File last commit:

r12:eb418ba8275b promises
r207:558f34b2fb50 v2
Show More
IProgressHandler.cs
18 lines | 389 B | text/x-csharp | CSharpLexer
/ Implab / IProgressHandler.cs
cin
refactoring, added WorkerPool
r12 using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab {
public interface IProgressHandler {
string Message {
get;
set;
}
float CurrentProgress {
get;
set;
}
void InitProgress(float current, float max, string message);
}
}