Ejemplo n.º 1
0
        public Activity Create(System.Windows.DependencyObject target)
        {
            var fef = new GetImage();
            var aa  = new ActivityAction <ImageElement>();
            var da  = new DelegateInArgument <ImageElement>();

            da.Name     = "item";
            fef.Body    = aa;
            aa.Argument = da;
            return(fef);
        }
Ejemplo n.º 2
0
        public Activity Create(System.Windows.DependencyObject target)
        {
            Type t          = typeof(GetElement);
            var  wfdesigner = Plugin.client.Window.LastDesigner;

            WFHelper.DynamicAssemblyMonitor(wfdesigner.WorkflowDesigner, t.Assembly.GetName().Name, t.Assembly, true);
            var fef = new GetImage();
            var aa  = new ActivityAction <ImageElement>();
            var da  = new DelegateInArgument <ImageElement>();

            da.Name     = "item";
            fef.Body    = aa;
            aa.Argument = da;
            return(fef);
        }