public static GetApplicationPath ( ) : string | ||
return | string |
public static AssemblyPackageInfo CreateFor(Assembly assembly) { var package = new AssemblyPackageInfo(assembly); var exploder = FubuMvcPackageFacility.GetPackageExploder(new FileSystem()); exploder.ExplodeAssembly(FubuMvcPackageFacility.GetApplicationPath(), assembly, package.Files); return(package); }
public IEnumerable <IPackageInfo> Load(IPackageLog log) { var applicationDirectory = FubuMvcPackageFacility.GetApplicationPath(); //this finds all of the bottles in <applicationDirectory>/bin/packages //then calls load from folder on each exploded zip return(_exploder.ExplodeAllZipsAndReturnPackageDirectories(applicationDirectory, log) .Select(dir => _reader.LoadFromFolder(dir))); }
public IEnumerable <IPackageInfo> Load(IPackageLog log) { var assemblies = _assemblyFinder.FindAssemblies(FubuMvcPackageFacility.GetApplicationPath()); return(assemblies.Select(fileName => { return AssemblyPackageInfo.For(fileName); })); }
public IEnumerable <IPackageInfo> Load() { var applicationDirectory = FubuMvcPackageFacility.GetApplicationPath(); return(_exploder.ExplodeAllZipsAndReturnPackageDirectories(applicationDirectory).Select(dir => _reader.LoadFromFolder(dir))); }
public IEnumerable <IPackageInfo> Load() { var assemblies = _assemblyFinder.FindAssemblies(FubuMvcPackageFacility.GetApplicationPath()); return(assemblies.Select(assembly => AssemblyPackageInfo.CreateFor(Assembly.Load(assembly)).As <IPackageInfo>())); }