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.
28 lines
1003 B
C#
28 lines
1003 B
C#
using System.Collections.Generic;
|
|
|
|
namespace SabreTools.Data.Models.PortableExecutable.Resource.Entries
|
|
{
|
|
/// <summary>
|
|
/// Contains information about formatted text for display as an error message or in a message
|
|
/// box in a message table resource.
|
|
/// </summary>
|
|
/// <see href="https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-message_resource_data"/>
|
|
public sealed class MessageResourceData : ResourceDataType
|
|
{
|
|
/// <summary>
|
|
/// The number of MESSAGE_RESOURCE_BLOCK structures.
|
|
/// </summary>
|
|
public uint NumberOfBlocks { get; set; }
|
|
|
|
/// <summary>
|
|
/// An array of structures. The array is the size indicated by the NumberOfBlocks member.
|
|
/// </summary>
|
|
public MessageResourceBlock[] Blocks { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// Message resource entries
|
|
/// </summary>
|
|
public Dictionary<uint, MessageResourceEntry?> Entries { get; set; } = [];
|
|
}
|
|
}
|