Code
·
17 lines
·
388 bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17using System;
namespace Matroska.Attributes;
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Class)]
public class MatroskaElementDescriptorAttribute : Attribute
{
public ulong Identifier { get; }
public Type? ElementType { get; }
public MatroskaElementDescriptorAttribute(ulong identifier, Type? type = null)
{
Identifier = identifier;
ElementType = type;
}
}