3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 /*=============================================================================
8 ** Class: ManifestResourceInfo
10 ** <OWNER>Microsoft</OWNER>
13 ** Purpose: For info regarding a manifest resource's topology.
16 =============================================================================*/
18 namespace System.Reflection {
21 [System.Runtime.InteropServices.ComVisible(true)]
22 public class ManifestResourceInfo {
23 private Assembly _containingAssembly;
24 private String _containingFileName;
25 private ResourceLocation _resourceLocation;
27 public ManifestResourceInfo(Assembly containingAssembly,
28 String containingFileName,
29 ResourceLocation resourceLocation)
31 _containingAssembly = containingAssembly;
32 _containingFileName = containingFileName;
33 _resourceLocation = resourceLocation;
36 public virtual Assembly ReferencedAssembly
39 return _containingAssembly;
43 public virtual String FileName
46 return _containingFileName;
50 public virtual ResourceLocation ResourceLocation
53 return _resourceLocation;
58 // The ResourceLocation is a combination of these flags, set or not.
59 // Linked means not Embedded.
62 [System.Runtime.InteropServices.ComVisible(true)]
63 public enum ResourceLocation
66 ContainedInAnotherAssembly = 0x2,
67 ContainedInManifestFile = 0x4