mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-15 02:33:10 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
23 lines
872 B
C#
23 lines
872 B
C#
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
|
|
{
|
|
/// <summary>
|
|
/// A menu resource consists of a MENUHEADER structure followed by one or more
|
|
/// NORMALMENUITEM or POPUPMENUITEM structures, one for each menu item in the menu
|
|
/// template. The MENUEX_TEMPLATE_HEADER and the MENUEX_TEMPLATE_ITEM structures
|
|
/// describe the format of extended menu resources.
|
|
/// </summary>
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/menurc/resource-file-formats"/>
|
|
public sealed class MenuResource : ResourceDataType
|
|
{
|
|
/// <summary>
|
|
/// Menu header structure
|
|
/// </summary>
|
|
public MenuHeader MenuHeader { get; set; } = new NormalMenuHeader();
|
|
|
|
/// <summary>
|
|
/// Menu items
|
|
/// </summary>
|
|
public MenuItem[] MenuItems { get; set; } = [];
|
|
}
|
|
}
|