示例#1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="depth">Starts from 0. If it's big enough, we'll stop reading more data.</param>
 /// <param name="name">Name</param>
 /// <param name="resources">Resources</param>
 /// <param name="reader">Reader positioned at the start of this resource directory</param>
 public ResourceDirectoryPE(uint depth, ResourceName name, Win32ResourcesPE resources, IBinaryReader reader)
     : base(name)
 {
     this.resources = resources;
     this.depth     = depth;
     Initialize(reader);
 }
		/// <summary>
		/// Constructor
		/// </summary>
		/// <param name="depth">Starts from 0. If it's big enough, we'll stop reading more data.</param>
		/// <param name="name">Name</param>
		/// <param name="resources">Resources</param>
		/// <param name="reader">Reader positioned at the start of this resource directory</param>
		public ResourceDirectoryPE(uint depth, ResourceName name, Win32ResourcesPE resources, IBinaryReader reader)
			: base(name) {
			this.resources = resources;
			this.depth = depth;
			Initialize(reader);
		}