public override ReferenceNode AddReferenceFromSelectorData(VSCOMPONENTSELECTORDATA selectorData, string wrapperTool)
        {
            if (String.IsNullOrEmpty(wrapperTool))
            {
                wrapperTool = WrapperToolAttributeValue.TlbImp.ToString().ToLowerInvariant();
            }
            foreach (ReferenceNode child in this.EnumReferences())
            {
                XSharpComReferenceNode comnode = child as XSharpComReferenceNode;

                if (comnode != null && comnode.Matches(selectorData, wrapperTool))
                {
                    return(comnode);
                }
            }
            return(base.AddReferenceFromSelectorData(selectorData, wrapperTool));
        }
        protected override ComReferenceNode CreateComReferenceNode(Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORDATA selectorData, string wrapperTool)
        {
            ComReferenceNode node = new XSharpComReferenceNode(this.ProjectMgr, selectorData, wrapperTool);

            return(node);
        }