comparison Implab.Fx/PromiseHelpers.cs @ 104:5f10d54b45df v2

renamed Promise.Last -> Promise.On Promise.On doesn't changes Promise.IsExclusive property
author cin
date Sun, 09 Nov 2014 23:03:45 +0300
parents b4c4d65b7def
children 2573b562e328
comparison
equal deleted inserted replaced
103:b3f5bc613905 104:5f10d54b45df
27 Safe.ArgumentNotNull(that, "that"); 27 Safe.ArgumentNotNull(that, "that");
28 Safe.ArgumentNotNull(ctl, "ctl"); 28 Safe.ArgumentNotNull(ctl, "ctl");
29 29
30 var directed = new ControlBoundPromise<T>(ctl,that); 30 var directed = new ControlBoundPromise<T>(ctl,that);
31 31
32 that.Last( 32 that.On(
33 directed.Resolve, 33 directed.Resolve,
34 directed.Reject, 34 directed.Reject,
35 directed.Cancel 35 directed.Cancel
36 ); 36 );
37 37