##// END OF EJS Templates
removed the reference to the parent from the promise object this allows...
removed the reference to the parent from the promise object this allows resolved promises to release parents and results they are holding. Added complete set of operations to IPromiseBase interface Subscribing to the cancellation event of the promise should not affect it's IsExclusive property More tests.

File last commit:

r12:eb418ba8275b promises
r33:b255e4aeef17 default
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;
}
}
}