Descriptor for resources used in this PE file
Inheritance: MetaDataElement
Ejemplo n.º 1
0
		internal ManifestResource (ManifestResource mres) 
		{
			mrName = mres.mrName;
			flags = mres.flags;
			rRef = mres.rRef;
			fileOffset = mres.fileOffset;
			resourceBytes = mres.resourceBytes;
		}
Ejemplo n.º 2
0
		public void AddManifestResource (ManifestResource mr)
		{
			if (manifestResources == null)
				manifestResources = new ArrayList ();
			manifestResources.Add (mr);
		}
Ejemplo n.º 3
0
 /// <summary>
 /// Add a manifest resource to this PEFile NOT YET IMPLEMENTED
 /// </summary>
 /// <param name="mr"></param>
 public void AddManifestResource(ManifestResource mr) {
   metaData.AddToTable(MDTable.ManifestResource,mr);
   resources.Add (mr);
   //mr.FixName(metaData);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Add a managed resource from another assembly.
 /// </summary>
 /// <param name="mr"></param>
 /// <param name="isPublic"></param>
 public void AddExternalManagedResource (ManifestResource mr) {
   resources.Add (new ManifestResource (mr));
 }
Ejemplo n.º 5
0
 internal ManifestResource (ManifestResource mres) {
   mrName = mres.mrName;
   flags = mres.flags;
   this.rRef = rRef;
   this.fileOffset = fileOffset;
   this.resourceBytes = resourceBytes;
 }