public IEnumerable <IPackageInfo> Load(IPackageLog log)
        {
            var assemblies = _assemblyFinder.FindAssemblies(FubuMvcPackageFacility.GetApplicationPath());

            return(assemblies.Select(fileName =>
            {
                return AssemblyPackageInfo.For(fileName);
            }));
        }
示例#2
0
        public IEnumerable <IPackageInfo> Load()
        {
            var assemblies = _assemblyFinder.FindAssemblies(FubuMvcPackageFacility.GetApplicationPath());

            return(assemblies.Select(assembly => AssemblyPackageInfo.CreateFor(Assembly.Load(assembly)).As <IPackageInfo>()));
        }