##// 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
ProgressInitEventArgs.cs
36 lines | 732 B | text/x-csharp | CSharpLexer
/ Implab / ProgressInitEventArgs.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Implab
{
[Serializable]
public class ProgressInitEventArgs: EventArgs
{
public float MaxProgress
{
get;
private set;
}
public float CurrentProgress
{
get;
private set;
}
public string Message
{
get;
private set;
}
public ProgressInitEventArgs(float current, float max, string message)
{
this.MaxProgress = max;
this.CurrentProgress = current;
this.Message = message;
}
}
}