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