Search Results for

    Show / Hide Table of Contents

    Class MidiFileEqualityCheckSettings

    Holds settings according to which MidiFile objects should be compared for equality.
    Inheritance
    object
    MidiFileEqualityCheckSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.
    In this article
    Back to top 2024 / Generated by DocFX