public static AssemblyPackageInfo CreateFor(Assembly assembly)
        {
            var package = new AssemblyPackageInfo(assembly);
            var exploder = PackageExploder.GetPackageExploder(new FileSystem());
            
            exploder.ExplodeAssembly(PackageRegistry.GetApplicationDirectory(), assembly, package.Files);

            return package;
        }
示例#2
0
        public static AssemblyPackageInfo CreateFor(Assembly assembly)
        {
            var package  = new AssemblyPackageInfo(assembly);
            var exploder = PackageExploder.GetPackageExploder(new FileSystem());

            exploder.ExplodeAssembly(PackageRegistry.GetApplicationDirectory(), assembly, package.Files);

            return(package);
        }
示例#3
0
 public IEnumerable <IPackageInfo> Load()
 {
     yield return(AssemblyPackageInfo.CreateFor(_assembly));
 }