A MIDI Library for .NET

ChannelExtensionMethods.Validate Method

Throws an exception if channel is not valid.

[Extension]
public static void Validate(
   this Channel channel
);

Parameters

channel
The channel to validate.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException The channel is out-of-range.

See Also

ChannelExtensionMethods Class | Midi Namespace