示例#1
0
        private static bool IsNotDbAndDoesNotHaveStyleCop(Proj proj)
        {
            var a = new List <Func <Proj, bool> >
            {
                p => !ProjectTools.IsCoreStyleProject(p),
                p => !ProjectClassificationTools.IsDatabaseProject(p),
                p => !NuGetTools.HasStyleCopInstalled(p)
            };

            return(a.All(f => f(proj)));
        }
示例#2
0
 private static bool IsNotDbAndDoesNotHaveStyleCopSetting(Proj p) => !ProjectClassificationTools.IsDatabaseProject(p) && !ProjectSettingsTools.HasStyleCopSetting(p);