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); }
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); }