private void defaultSearch()
 {
     Search = new FileSet { DeepSearch = true };
     Search.AppendInclude("*cshtml");
     Search.AppendInclude("*vbhtml");     
     Search.AppendExclude("bin/*.*");
     Search.AppendExclude("obj/*.*");
 }
Пример #2
0
        // I'm okay with this finding nulls
        public IEnumerable<IFubuFile> FindFiles(FileSet fileSet)
        {
            fileSet.AppendExclude(FubuMvcPackageFacility.FubuContentFolder + "/*.*");
            fileSet.AppendExclude(FubuMvcPackageFacility.FubuPackagesFolder + "/*.*");

            return _folders.Value.SelectMany(folder => folder.FindFiles(fileSet))
                .Where(IsNotUnderExplodedBottleFolder);
        }
Пример #3
0
        // I'm okay with this finding nulls
        public IEnumerable<IFubuFile> FindFiles(FileSet fileSet)
        {
            fileSet.AppendExclude(FubuMvcPackageFacility.FubuContentFolder + "/*.*");

            return _folders.Value.SelectMany(folder => folder.FindFiles(fileSet)).Where(x => !x.RelativePath.Contains(FubuMvcPackageFacility.FubuContentFolder));
        }