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

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

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

            Validate();
        }
Exemple #3
0
 public IcoDirectory()
 {
     Entries = new IcoDirectoryEntry[0];
 }
 public IcoDirectory()
 {
     Entries = new IcoDirectoryEntry[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;
 }
Exemple #7
0
 public IcoDirectoryEntry(IcoDirectoryEntry entry) :
     base(entry)
 {
     ImageOffset = entry.ImageOffset;
 }