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