Convert Metadata file keys to proper properties

This commit is contained in:
Matt Nadareski
2026-04-04 21:17:28 -04:00
parent 3b2b4bc525
commit 0b99602bc7
39 changed files with 114 additions and 230 deletions

View File

@@ -4,22 +4,14 @@ namespace SabreTools.Data.Models.Metadata
/// <summary>
/// Format-agnostic representation of a full metadata file
/// </summary>
/// TODO: ICloneable
/// TODO: IComparable<MetadataFile>
public class MetadataFile : DictionaryBase
{
#region Keys
public Header? Header { get; set; }
/// <remarks>Machine[]</remarks>
[NoFilter]
public const string MachineKey = "machine";
public InfoSource? InfoSource { get; set; }
/// <remarks>Header</remarks>
[NoFilter]
public const string HeaderKey = "header";
/// <remarks>InfoSource</remarks>
[NoFilter]
public const string InfoSourceKey = "infosource";
#endregion
public Machine[]? Machine { get; set; }
}
}