public CombiningCssLinkTagWriter(IContentFolderService folderService, IContentFileCombiner fileCombiner, CssLinkTagWriter singleFileWriter) { _folderService = folderService; _fileCombiner = fileCombiner; _singleFileWriter = singleFileWriter; _folderService.RegisterDirectory(FileSystem.Combine(FubuMvcPackageFacility.GetApplicationPath(), "content")); }
public CombiningCssLinkTagWriter(IContentFolderService folderService, IContentFileCombiner fileCombiner, CssLinkTagWriter singleFileWriter) { _folderService = folderService; _fileCombiner = fileCombiner; _singleFileWriter = singleFileWriter; _folderService.RegisterDirectory(FileSystem.Combine(FubuMvcPackageFacility.GetApplicationPath(), "content")); }
public void Activate(IEnumerable <IPackageInfo> packages, IPackageLog log) { packages.Each(p => p.ForFolder(BottleFiles.WebContentFolder, topFolder => { var contentFolder = FileSystem.Combine(topFolder, "content"); log.Trace("Added folder '{0}' to the package folder list", contentFolder); _contents.RegisterDirectory(contentFolder); })); }