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;
        }
Exemplo n.º 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);
        }
Exemplo n.º 3
0
 public IEnumerable <IPackageInfo> Load()
 {
     yield return(AssemblyPackageInfo.CreateFor(_assembly));
 }