예제 #1
0
        private void OnBindInjectors(BaseAssemblyResolver assembly, Type type, TreeNode rootNode, bool staticOnly)
        {
            if (InvokeRequired)
            {
                Invoke(new BindInjections(OnBindInjectors), new object[] { assembly, type, rootNode, staticOnly });
            }

            var node = new TreeNode
            {
                Text = type.Name,
                Tag  = type
            };

            rootNode.Nodes.Add(node);
        }
예제 #2
0
        private void OnBindInjectors(BaseAssemblyResolver assembly, Type type, TreeNode rootNode, bool staticOnly)
        {
            if (InvokeRequired)
                Invoke(new BindInjections(OnBindInjectors), new object[] { assembly, type, rootNode, staticOnly });

            var node = new TreeNode
                           {
                               Text = type.Name,
                               Tag = type
                           };

            rootNode.Nodes.Add(node);
        }