Inheritance: IconDirectoryEntry
Esempio n. 1
0
        public static PeDirectoryEntry ToPe(this IcoDirectoryEntry entry)
        {
            if (entry == null)
            {
                throw new ArgumentNullException("entry");
            }

            return(new PeDirectoryEntry(entry));
        }
Esempio n. 2
0
        private void Parse(Stream icoStream)
        {
            Entries = new IcoDirectoryEntry[Count];

            for (var i = 0; i < Count; i++)
            {
                Entries[i] = new IcoDirectoryEntry(icoStream);
            }

            Validate();
        }
Esempio n. 3
0
 public IcoDirectory()
 {
     Entries = new IcoDirectoryEntry[0];
 }
Esempio n. 4
0
 public IcoDirectory()
 {
     Entries = new IcoDirectoryEntry[0];
 }
Esempio n. 5
0
        private void Parse(Stream icoStream)
        {
            Entries = new IcoDirectoryEntry[Count];

            for (var i = 0; i < Count; i++)
                Entries[i] = new IcoDirectoryEntry(icoStream);

            Validate();
        }
 public IcoDirectoryEntry(IcoDirectoryEntry entry)
     : base(entry)
 {
     ImageOffset = entry.ImageOffset;
 }
Esempio n. 7
0
 public IcoDirectoryEntry(IcoDirectoryEntry entry) :
     base(entry)
 {
     ImageOffset = entry.ImageOffset;
 }