Пример #1
0
        bool ProjectTypeMatch(NavigateItem item)
        {
            DteWrapper  wrapper = new DteWrapper(dte);
            ProjectType type    = wrapper.GetProjectType();

            return(!type.Conflicts(item.ProjectType));
        }
Пример #2
0
        bool ProjectTypeMatch(NavigateItem item)
        {
            DteWrapper  wrapper = new DteWrapper(dte);
            ProjectType type    = wrapper.GetProjectType();

            return((type != ProjectType.NoPlatform || type != ProjectType.Unknown) && wrapper.GetProjectType() == item.ProjectType);
        }