bool ProjectTypeMatch(NavigateItem item) { DteWrapper wrapper = new DteWrapper(dte); ProjectType type = wrapper.GetProjectType(); return(!type.Conflicts(item.ProjectType)); }
bool ProjectTypeMatch(NavigateItem item) { DteWrapper wrapper = new DteWrapper(dte); ProjectType type = wrapper.GetProjectType(); return((type != ProjectType.NoPlatform || type != ProjectType.Unknown) && wrapper.GetProjectType() == item.ProjectType); }