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 assemblies = _assemblyFinder.FindAssemblies(FubuMvcPackageFacility.GetApplicationPath()); return(assemblies.Select(assembly => AssemblyPackageInfo.CreateFor(Assembly.Load(assembly)).As <IPackageInfo>())); }