Ejemplo n.º 1
0
        public override void PerformReflection(ReflectionContext context)
        {
            AssemblyNode assemblyNode = new AssemblyNode();
            assemblyNode.Text = Path.GetFileName(context.WorkflowAssembly.Assembly.Location);
            assemblyNode.Assembly = context.WorkflowAssembly;
            assemblyNode.SelectedImageIndex = assemblyNode.ImageIndex = context.GetImageIndex(typeof(AssemblyComponent), AssemblyNodeImageName);

            context.TreeView.Nodes.Add(assemblyNode);

            ReflectChildComponents(context.CreateClone(assemblyNode));
        }
Ejemplo n.º 2
0
        public override void PerformReflection(ReflectionContext context)
        {
            AssemblyNode assemblyNode = new AssemblyNode();

            assemblyNode.Text               = Path.GetFileName(context.WorkflowAssembly.Assembly.Location);
            assemblyNode.Assembly           = context.WorkflowAssembly;
            assemblyNode.SelectedImageIndex = assemblyNode.ImageIndex = context.GetImageIndex(typeof(AssemblyComponent), AssemblyNodeImageName);

            context.TreeView.Nodes.Add(assemblyNode);

            ReflectChildComponents(context.CreateClone(assemblyNode));
        }