Inheritance: IconDirectoryEntry
Example #1
0
        public static IcoDirectoryEntry ToIco(this PeDirectoryEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException("entry");
            }

            return(new IcoDirectoryEntry(entry));
        }
Example #2
0
        private void Parse(Stream peStream)
        {
            Entries = new PeDirectoryEntry[Count];

            for (var i = 0; i < Count; i++)
            {
                Entries[i] = new PeDirectoryEntry(peStream);
            }
        }
Example #3
0
        private void Parse(Stream peStream)
        {
            Entries = new PeDirectoryEntry[Count];

            for (var i = 0; i < Count; i++)
                Entries[i] = new PeDirectoryEntry(peStream);
        }
Example #4
0
 public PeDirectory()
 {
     Entries = new PeDirectoryEntry[0];
 }
Example #5
0
 public PeDirectoryEntry(PeDirectoryEntry entry) :
     base(entry)
 {
     Id = entry.Id;
 }
 public PeDirectoryEntry(PeDirectoryEntry entry)
     : base(entry)
 {
     Id = entry.Id;
 }
Example #7
0
 public PeDirectory()
 {
     Entries = new PeDirectoryEntry[0];
 }