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

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

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

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