diff Implab.Fx/ControlBoundPromise.cs @ 106:d4e38929ce36 v2

promises refactoring
author cin
date Mon, 10 Nov 2014 18:00:28 +0300
parents b4c4d65b7def
children 2573b562e328
line wrap: on
line diff
--- a/Implab.Fx/ControlBoundPromise.cs	Mon Nov 10 10:17:54 2014 +0300
+++ b/Implab.Fx/ControlBoundPromise.cs	Mon Nov 10 18:00:28 2014 +0300
@@ -19,9 +19,9 @@
             m_target = target;
         }
 
-        protected override void InvokeHandler(HandlerDescriptor handler) {
+        protected override void InvokeHandler(AbstractHandler handler) {
             if (m_target.InvokeRequired)
-                m_target.BeginInvoke(new Action<HandlerDescriptor>(base.InvokeHandler), handler);
+                m_target.BeginInvoke(new Action<AbstractHandler>(base.InvokeHandler), handler);
             else
                 base.InvokeHandler(handler);
         }