Пример #1
0
        private Reference AddFromSelectorData(VSCOMPONENTSELECTORDATA selector)
        {
            ReferenceNode refNode = container.AddReferenceFromSelectorData(selector);
            if (null == refNode)
            {
                return null;
            }

            return refNode.Object as Reference;
        }
Пример #2
0
        private Reference AddFromSelectorData(VSCOMPONENTSELECTORDATA selector, string wrapperTool = null)
        {
            ReferenceNode refNode = container.AddReferenceFromSelectorData(selector, wrapperTool);

            if (null == refNode)
            {
                return(null);
            }

            return(refNode.Object as Reference);
        }
        private Reference AddFromSelectorData(VSCOMPONENTSELECTORDATA selector)
        {
            TEntryPointFileNode refNode = container.AddReferenceFromSelectorData(selector);

            if (null == refNode)
            {
                return(null);
            }

            return(refNode.Object as Reference);
        }
Пример #4
0
        private Reference AddFromSelectorData(VSCOMPONENTSELECTORDATA selector)
        {
            if (_container == null)
            {
                return(null);
            }
            ReferenceNode refNode = _container.AddReferenceFromSelectorData(selector);

            if (null == refNode)
            {
                return(null);
            }

            return(refNode.Object as Reference);
        }
Пример #5
0
        private Reference AddFromSelectorData(VSCOMPONENTSELECTORDATA selector, string wrapperTool = null)
        {
            if (_container == null)
            {
                return(null);
            }
            ThreadHelper.ThrowIfNotOnUIThread();

            ReferenceNode refNode = _container.AddReferenceFromSelectorData(selector, wrapperTool);

            if (null == refNode)
            {
                return(null);
            }

            return(refNode.Object as Reference);
        }