NStub.Core.AssemblyFetcher.CreateTreeNode C# (CSharp) Method

CreateTreeNode() private method

Creates a TreeNode with the given text and image key.
private CreateTreeNode ( string text, TestNodeType testNodeType, object tag ) : TestNode
text string The text of the TreeNode.
testNodeType TestNodeType Type of the test node.
tag object The tag used as custom information storage.
return TestNode
        private TestNode CreateTreeNode(string text, TestNodeType testNodeType, object tag)
        {
            TestNode treeNode = new TestNode(text, testNodeType, tag);
            // treeNode.ImageIndex = this._objectIconsImageList.Images.IndexOfKey(imageKey);

            return treeNode;
        }