##// END OF EJS Templates
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler...
Reworked cancelation handling, if the cancel handler isn't specified the OperationCanceledException will be handled by the error handler Any unhandled OperationCanceledException will cause the promise cancelation

File last commit:

r12:eb418ba8275b promises
r187:dd4a3590f9c6 ref20160224
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;
}
}
}