Descriptor for resources used in this PE file
Inheritance: MetaDataElement
		internal ManifestResource (ManifestResource mres) 
		{
			mrName = mres.mrName;
			flags = mres.flags;
			rRef = mres.rRef;
			fileOffset = mres.fileOffset;
			resourceBytes = mres.resourceBytes;
		}
		public void AddManifestResource (ManifestResource mr)
		{
			if (manifestResources == null)
				manifestResources = new ArrayList ();
			manifestResources.Add (mr);
		}
Beispiel #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);
 }
Beispiel #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));
 }
Beispiel #5
0
 internal ManifestResource (ManifestResource mres) {
   mrName = mres.mrName;
   flags = mres.flags;
   this.rRef = rRef;
   this.fileOffset = fileOffset;
   this.resourceBytes = resourceBytes;
 }