Search Results for

    Show / Hide Table of Contents

    Class UnknownChannelEventAction

    An action that should be done in case of unknown channel event.
    Inheritance
    object
    UnknownChannelEventAction
    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 UnknownChannelEventAction

    Fields

    Abort

    Abort reading of MIDI data and throw UnknownChannelEventException.
    Declaration
    public static readonly UnknownChannelEventAction Abort
    Field Value
    Type Description
    UnknownChannelEventAction

    Properties

    DataBytesToSkipCount

    Gets count of data bytes to skip be reading engine. Data bytes are event bytes without status byte.
    Declaration
    public int DataBytesToSkipCount { get; }
    Property Value
    Type Description
    int

    Instruction

    Gets instruction for reading engine to react on unknown channel event.
    Declaration
    public UnknownChannelEventInstruction Instruction { get; }
    Property Value
    Type Description
    UnknownChannelEventInstruction

    Methods

    SkipData(int)

    Creates an instance of the UnknownChannelEventAction to skip data bytes of unknown channel event.
    Declaration
    public static UnknownChannelEventAction SkipData(int dataBytesToSkipCount)
    Parameters
    Type Name Description
    int dataBytesToSkipCount Count of data bytes to skip be reading engine. Data bytes are event bytes without status byte.
    Returns
    Type Description
    UnknownChannelEventAction an instance of the UnknownChannelEventAction to skip data bytes of unknown channel event.
    Exceptions
    Type Condition
    ArgumentOutOfRangeException dataBytesToSkipCount is negative.
    In this article
    Back to top 2024 / Generated by DocFX