FubuMVC.Core.Packaging.FubuMvcPackageFacility.BuildZipFilePackageReader C# (CSharp) Method

BuildZipFilePackageReader() public static method

public static BuildZipFilePackageReader ( string applicationPath, FileSystem fileSystem ) : ZipFilePackageReader
applicationPath string
fileSystem FileSystem
return ZipFilePackageReader
        public static ZipFilePackageReader BuildZipFilePackageReader(string applicationPath, FileSystem fileSystem)
        {
            var zipFileManifestReader = new PackageManifestReader(applicationPath, fileSystem, dir => FileSystem.Combine(applicationPath, FubuMvcPackages.WebContentFolder));
            var packageExploder = new PackageExploder(new ZipFileService(), new PackageExploderLogger(x => Console.WriteLine(x)), fileSystem);
            return new ZipFilePackageReader(zipFileManifestReader, packageExploder);
        }