Code
·
21 lines
·
607 bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21using Matroska.Attributes;
namespace Matroska.Models;
public sealed class SimpleTag
{
[MatroskaElementDescriptor(MatroskaSpecification.TagName)]
public string? TagName { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagLanguage)]
public string? TagLanguage { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagDefault)]
public ulong? TagDefault { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagString)]
public string? TagString { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagBinary)]
public byte[]? TagBinary { get; set; }
}