changeset 102:b4c4d65b7def v2

code cleaunp
author cin
date Fri, 07 Nov 2014 09:36:12 +0300
parents 279e226dffdd
children b3f5bc613905
files Implab.Fx/ControlBoundPromise.cs Implab.Fx/PromiseHelpers.cs
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Implab.Fx/ControlBoundPromise.cs	Thu Nov 06 20:03:19 2014 +0300
+++ b/Implab.Fx/ControlBoundPromise.cs	Fri Nov 07 09:36:12 2014 +0300
@@ -12,8 +12,8 @@
             m_target = target;
         }
 
-        public ControlBoundPromise(Control target, IPromise parent, bool cancellable)
-            : base(parent, cancellable) {
+        public ControlBoundPromise(Control target, IPromise parent)
+            : base(parent) {
             Safe.ArgumentNotNull(target, "target");
 
             m_target = target;
--- a/Implab.Fx/PromiseHelpers.cs	Thu Nov 06 20:03:19 2014 +0300
+++ b/Implab.Fx/PromiseHelpers.cs	Fri Nov 07 09:36:12 2014 +0300
@@ -27,7 +27,7 @@
             Safe.ArgumentNotNull(that, "that");
             Safe.ArgumentNotNull(ctl, "ctl");
 
-            var directed = new ControlBoundPromise<T>(ctl,that,true);
+            var directed = new ControlBoundPromise<T>(ctl,that);
 
             that.Last(
                 directed.Resolve,