-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added EventRecorded event to Recording
- Loading branch information
1 parent
d25034d
commit 1c47c70
Showing
3 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
DryWetMidi/Multimedia/Recording/MidiEventRecordedEventArgs.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Melanchall.DryWetMidi.Common; | ||
using Melanchall.DryWetMidi.Core; | ||
|
||
namespace Melanchall.DryWetMidi.Multimedia | ||
{ | ||
public sealed class MidiEventRecordedEventArgs | ||
{ | ||
#region Constructor | ||
|
||
internal MidiEventRecordedEventArgs(MidiEvent midiEvent) | ||
{ | ||
ThrowIfArgument.IsNull(nameof(midiEvent), midiEvent); | ||
|
||
Event = midiEvent; | ||
} | ||
|
||
#endregion | ||
|
||
#region Properties | ||
|
||
public MidiEvent Event { get; } | ||
|
||
#endregion | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters