mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
Convert Metadata file keys to proper properties
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user