Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
957 B

  1. using System;
  2. namespace Microsoft.Fusion.ADF
  3. {
  4. public class DefaultAssemblyManifestImport : IAssemblyManifestImport
  5. {
  6. private AssemblyIdentity assmID;
  7. private DependentFileInfo[] depFileInfoArr;
  8. private DependentAssemblyInfo[] depAssmInfoArr;
  9. public DefaultAssemblyManifestImport(AssemblyIdentity assmID, DependentAssemblyInfo[] depAssmInfoArr, DependentFileInfo[] depFileInfoArr)
  10. {
  11. this.assmID = assmID;
  12. this.depFileInfoArr = depFileInfoArr;
  13. this.depAssmInfoArr = depAssmInfoArr;
  14. }
  15. AssemblyIdentity IAssemblyManifestImport.GetAssemblyIdentity()
  16. {
  17. return assmID;
  18. }
  19. DependentFileInfo[] IAssemblyManifestImport.GetDependentFileInfo()
  20. {
  21. return depFileInfoArr;
  22. }
  23. DependentAssemblyInfo[] IAssemblyManifestImport.GetDependentAssemblyInfo()
  24. {
  25. return depAssmInfoArr;
  26. }
  27. ManifestType IAssemblyManifestImport.GetManifestType()
  28. {
  29. return ManifestType.Component;
  30. }
  31. }
  32. }