Example #1
0
        internal bool IsSupportedProject(Project project)
        {
            if (Language == null || Language == project.Language)
            {
                return((ProjectNames.Count > 0)
                    ? ProjectNames.Contains(project.Name)
                    : !IgnoredProjectNames.Contains(project.Name));
            }

            return(false);
        }
        internal bool IsSupportedProject(Project project)
        {
            if (SyntaxFactsService.IsSupportedLanguage(project.Language) &&
                (Language == null || Language == project.Language))
            {
                return((ProjectNames.Count > 0)
                    ? ProjectNames.Contains(project.Name)
                    : !IgnoredProjectNames.Contains(project.Name));
            }

            return(false);
        }