Class MidiFileEqualityCheckSettings
Holds settings according to which MidiFile objects should
be compared for equality.
Inherited Members
Namespace: Melanchall.DryWetMidi.Core
Assembly: Melanchall.DryWetMidi.dll
Syntax
public sealed class MidiFileEqualityCheckSettings
Properties
ChunkEqualityCheckSettings
Gets or sets settings according to which MidiChunk objects should
be compared for equality.
Declaration
public MidiChunkEqualityCheckSettings ChunkEqualityCheckSettings { get; set; }
Property Value
Type | Description |
---|---|
MidiChunkEqualityCheckSettings |
CompareOriginalFormat
Gets or sets a value indicating whether OriginalFormat values
should be compared or not.
Declaration
public bool CompareOriginalFormat { get; set; }
Property Value
Type | Description |
---|---|
bool |
Remarks
In MidiFile objects created by reading MIDI data from file or stream
OriginalFormat is always set if format was valid. But if format was invalid or
MidiFile is created from scratch using constrictor, the property will throw
exception so you may want to exclude this property from comparison process.