Class ChunkType
Represents a chunk's identity described by its type and corresponding ID.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class ChunkType
Constructors
ChunkType(Type, string)
Initializes a new instance of the ChunkType with the specified type and ID.
Declaration
public ChunkType(Type type, string id)
Parameters
Type | Name | Description |
---|---|---|
Type | type | Type of a chunk. |
string | id | 4-character ID of a chunk. |
Properties
Id
Gets the ID of chunks described by this instance of the ChunkType.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Type
Gets the type of chunks described by this instance of the ChunkType.
Declaration
public Type Type { get; }
Property Value
Type | Description |
---|---|
Type |