public BinarySection(int fileSize, int memorySize, BinarySectionFlags binaryFlag, BinarySectionTypes binaryType) { FileSize = fileSize; MemorySize = memorySize; BinaryFlag = binaryFlag; BinaryType = binaryType; }
public static Color GetSectionTypeColor(BinarySectionTypes sectionType) { if (SectionColors.ContainsKey(sectionType)) { return(SectionColors[sectionType]); } return(DefaultColor); }